Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 148 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameCompilationUnitProcessor.java |
2 | 2 | 248 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java |
| ||||
if (Checks.isAlreadyNamed(fCu, newName)) result.addFatalError(RefactoringCoreMessages.RenameCompilationUnitRefactoring_same_name); |
| ||||
if (Checks.isAlreadyNamed(fTypeParameter, name)) result.addFatalError(RefactoringCoreMessages.RenameTypeParameterRefactoring_another_name); |
| |||
if (Checks.isAlreadyNamed( [[#variableb737e960]], [[#variableb737e8e0]])) result.addFatalError(RefactoringCoreMessages. [[#variableb737ed40]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b737e960]] | fCu |
1 | 2 | [[#b737e960]] | fTypeParameter |
2 | 1 | [[#b737e8e0]] | newName |
2 | 2 | [[#b737e8e0]] | name |
3 | 1 | [[#b737ed40]] | RenameCompilationUnitRefactoring_same_name |
3 | 2 | [[#b737ed40]] | RenameTypeParameterRefactoring_another_name |