| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.954 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 392 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameCompilationUnitProcessor.java |
| 2 | 3 | 186 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java |
| ||||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_INPUT, JavaRefactoringDescriptor.resourceToHandle(name, resource));
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_NAME, newName);
return new DynamicValidationStateChange(new RenameResourceChange(descriptor, resource, newName, comment));
|
| ||||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_INPUT, JavaRefactoringDescriptor.resourceToHandle(project, fResource));
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_NAME, getNewElementName());
return new DynamicValidationStateChange(new RenameResourceChange(descriptor, fResource, getNewElementName(), comment));
|
| |||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_INPUT, JavaRefactoringDescriptor.resourceToHandle( [[#variable4ea870e0]], [[#variable4ea870c0]])); arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_NAME, [[#variable4ea86500]]); return new DynamicValidationStateChange(new RenameResourceChange(descriptor, [[#variable4ea870c0]], [[#variable4ea86500]], comment)); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4ea870e0]] | name |
| 1 | 2 | [[#4ea870e0]] | project |
| 2 | 1 | [[#4ea870c0]] | resource |
| 2 | 2 | [[#4ea870c0]] | fResource |
| 3 | 1 | [[#4ea86500]] | newName |
| 3 | 2 | [[#4ea86500]] | getNewElementName() |