CloneSet4705


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.980statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14245
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java
24262
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
Clone Instance
1
Line Count
4
Source Line
245
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java

                Assert.isNotNull(newName, "new name"); //$NON-NLS-1$
                RefactoringStatus result = Checks.checkPackageName(newName);
                if (Checks.isAlreadyNamed(fPackage, newName))
                        result.addFatalError(RefactoringCoreMessages.RenamePackageRefactoring_another_name);


Clone Instance
2
Line Count
4
Source Line
262
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                Assert.isNotNull(newName, "new name"); //$NON-NLS-1$
                RefactoringStatus result = Checks.checkTypeName(newName);
                if (Checks.isAlreadyNamed(fType, newName))
                        result.addFatalError(RefactoringCoreMessages.RenameTypeRefactoring_choose_another_name);


Clone AbstractionParameter Count: 3Parameter Bindings

Assert.isNotNull(newName, "new name"); //$NON-NLS-1$
RefactoringStatus result = Checks. [[#variableb1153060]](newName);
if (Checks.isAlreadyNamed( [[#variableb1153040]], newName))
  result.addFatalError(RefactoringCoreMessages. [[#variableb11530e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1153060]]
checkTypeName 
12[[#b1153060]]
checkPackageName 
21[[#b1153040]]
fType 
22[[#b1153040]]
fPackage 
31[[#b11530e0]]
RenameTypeRefactoring_choose_another_name 
32[[#b11530e0]]
RenamePackageRefactoring_another_name