CloneSet3326


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.954statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13392
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameCompilationUnitProcessor.java
23186
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java
Clone Instance
1
Line Count
3
Source Line
392
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameCompilationUnitProcessor.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));


Clone Instance
2
Line Count
3
Source Line
186
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java

                        arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_INPUT, JavaRefactoringDescriptor.resourceToHandle(project, fResource));
                        arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_NAME, getNewElementName());
                        return new DynamicValidationStateChange(new RenameResourceChange(descriptor, fResource, getNewElementName(), comment));


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ea870e0]]
name 
12[[#4ea870e0]]
project 
21[[#4ea870c0]]
resource 
22[[#4ea870c0]]
fResource 
31[[#4ea86500]]
newName 
32[[#4ea86500]]
getNewElementName()