CloneSet1886


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5310.990class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15855
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
25161
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
35564
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
Clone Instance
1
Line Count
5
Source Line
855
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java

        /*
         * @see BuildPathBasePage#setSelection
         */
        public void setSelection(List selElements, boolean expand) {
                fLibrariesList.selectElements(new StructuredSelection(selElements));
                if (expand) {
                        for (int i = 0; i < selElements.size(); i++) {
                                fLibrariesList.expandElement(selElements.get(i), 1);
                        }
                }
        }


Clone Instance
2
Line Count
5
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java

        /*
         * @see BuildPathBasePage#setSelection
         */
        public void setSelection(List selElements, boolean expand) {
                fProjectsList.selectElements(new StructuredSelection(selElements));
                if (expand) {
                        for (int i = 0; i < selElements.size(); i++) {
                                fProjectsList.expandElement(selElements.get(i), 1);
                        }
                }
        }


Clone Instance
3
Line Count
5
Source Line
564
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java

        /*
         * @see BuildPathBasePage#setSelection
         */
        public void setSelection(List selElements, boolean expand) {
                fFoldersList.selectElements(new StructuredSelection(selElements));
                if (expand) {
                        for (int i = 0; i < selElements.size(); i++) {
                                fFoldersList.expandElement(selElements.get(i), 1);
                        }
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see BuildPathBasePage#setSelection
         */
public void setSelection(List selElements, boolean expand) {
   [[#variableb302eb00]].selectElements(new StructuredSelection(selElements));
  if (expand) {
    for (int i = 0; i < selElements.size(); i++) {
       [[#variableb302eb00]].expandElement(selElements.get(i), 1);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b302eb00]]
fFoldersList 
12[[#b302eb00]]
fProjectsList 
13[[#b302eb00]]
fLibrariesList