CloneSet5073


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.971class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11452
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyWizard.java
21491
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveWizard.java
Clone Instance
1
Line Count
14
Source Line
52
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyWizard.java

                protected Object getInitiallySelectedElement() {
                        return getCopyProcessor().getCommonParentForInputElements();
                }

                protected IJavaElement[] getJavaElements() {
                        return getCopyProcessor().getJavaElements();
                }

                protected IResource[] getResources() {
                        return getCopyProcessor().getResources();
                }

                protected IReorgDestinationValidator getDestinationValidator() {
                        return getCopyProcessor();
                }


Clone Instance
2
Line Count
14
Source Line
91
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveWizard.java

                protected Object getInitiallySelectedElement() {
                        return getJavaMoveProcessor().getCommonParentForInputElements();
                }

                protected IJavaElement[] getJavaElements() {
                        return getJavaMoveProcessor().getJavaElements();
                }

                protected IResource[] getResources() {
                        return getJavaMoveProcessor().getResources();
                }

                protected IReorgDestinationValidator getDestinationValidator() {
                        return getJavaMoveProcessor();
                }


Clone AbstractionParameter Count: 1Parameter Bindings

protected Object getInitiallySelectedElement() {
  return [[#variablea4633c40]]().getCommonParentForInputElements();
}

protected IJavaElement[] getJavaElements() {
  return [[#variablea4633c40]]().getJavaElements();
}

protected IResource[] getResources() {
  return [[#variablea4633c40]]().getResources();
}

protected IReorgDestinationValidator getDestinationValidator() {
  return [[#variablea4633c40]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4633c40]]
getCopyProcessor 
12[[#a4633c40]]
getJavaMoveProcessor