Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.980 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 245 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
2 | 4 | 262 | 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.checkPackageName(newName); if (Checks.isAlreadyNamed(fPackage, newName)) result.addFatalError(RefactoringCoreMessages.RenamePackageRefactoring_another_name); |
| ||||
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); |
| |||
Assert.isNotNull(newName, "new name"); //$NON-NLS-1$ RefactoringStatus result = Checks. [[#variableb1153060]](newName); if (Checks.isAlreadyNamed( [[#variableb1153040]], newName)) result.addFatalError(RefactoringCoreMessages. [[#variableb11530e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1153060]] | checkTypeName |
1 | 2 | [[#b1153060]] | checkPackageName |
2 | 1 | [[#b1153040]] | fType |
2 | 2 | [[#b1153040]] | fPackage |
3 | 1 | [[#b11530e0]] | RenameTypeRefactoring_choose_another_name |
3 | 2 | [[#b11530e0]] | RenamePackageRefactoring_another_name |