CloneSet545


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.998statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19290
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java
291007
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
Clone Instance
1
Line Count
9
Source Line
290
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java

                        arguments.put(ATTRIBUTE_EXTRACT, new Integer(fMembersToMove.length).toString());
                        for (int offset = 0; offset < fMembersToMove.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + 1), descriptor.elementToHandle(fMembersToMove[offset]));
                        arguments.put(ATTRIBUTE_DELETE, new Integer(fDeletedMethods.length).toString());
                        for (int offset = 0; offset < fDeletedMethods.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + 1), descriptor.elementToHandle(fDeletedMethods[offset]));
                        arguments.put(ATTRIBUTE_ABSTRACT, new Integer(fAbstractMethods.length).toString());
                        for (int offset = 0; offset < fAbstractMethods.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + fDeletedMethods.length + 1), descriptor.elementToHandle(fAbstractMethods[offset]));


Clone Instance
2
Line Count
9
Source Line
1007
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                        arguments.put(ATTRIBUTE_PULL, new Integer(fMembersToMove.length).toString());
                        for (int offset = 0; offset < fMembersToMove.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + 1), descriptor.elementToHandle(fMembersToMove[offset]));
                        arguments.put(ATTRIBUTE_DELETE, new Integer(fDeletedMethods.length).toString());
                        for (int offset = 0; offset < fDeletedMethods.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + 1), descriptor.elementToHandle(fDeletedMethods[offset]));
                        arguments.put(ATTRIBUTE_ABSTRACT, new Integer(fAbstractMethods.length).toString());
                        for (int offset = 0; offset < fAbstractMethods.length; offset++)
                                arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + fDeletedMethods.length + 1), descriptor.elementToHandle(fAbstractMethods[offset]));


Clone AbstractionParameter Count: 1Parameter Bindings

arguments.put( [[#variablec11df500]], new Integer(fMembersToMove.length).toString());
for (int offset = 0; offset < fMembersToMove.length; offset++)
  arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + 1), descriptor.elementToHandle(fMembersToMove[offset]));
arguments.put(ATTRIBUTE_DELETE, new Integer(fDeletedMethods.length).toString());
for (int offset = 0; offset < fDeletedMethods.length; offset++)
  arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + 1), descriptor.elementToHandle(fDeletedMethods[offset]));
arguments.put(ATTRIBUTE_ABSTRACT, new Integer(fAbstractMethods.length).toString());
for (int offset = 0; offset < fAbstractMethods.length; offset++)
  arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + (offset + fMembersToMove.length + fDeletedMethods.length + 1), descriptor.elementToHandle(fAbstractMethods[offset]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c11df500]]
ATTRIBUTE_EXTRACT 
12[[#c11df500]]
ATTRIBUTE_PULL