CloneSet3171


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.975statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
210275
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
Clone Instance
1
Line Count
11
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new AddSelectedSourceFolderOperation(page, provider);
        // TODO User disabled image when available
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_ADD_AS_SOURCE_FOLDER, null, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 0);


Clone Instance
2
Line Count
10
Source Line
275
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new CreateFolderOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_OBJS_PACKFRAG_ROOT, null, 
                        NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_CreateSrcFolder_label, NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_CreateSrcFolder_tooltip, 
                          IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 6);


Clone AbstractionParameter Count: 5Parameter Bindings

op = new [[#variable5a53c440]](page, provider);
// TODO User disabled image when available
addAction(new ClasspathModifierAction(op, JavaPluginImages. [[#variable5a53c3e0]], null, NewWizardMessages. [[#variable5a53c380]], NewWizardMessages. [[#variable504de620]], IAction.AS_PUSH_BUTTON) {
            public void run() {
              page.commitDefaultOutputFolder();
              super.run();
            }
          },  [[#variable5a494780]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a53c440]]
AddSelectedSourceFolderOperation 
12[[#5a53c440]]
CreateFolderOperation 
21[[#5a53c3e0]]
DESC_ELCL_ADD_AS_SOURCE_FOLDER 
22[[#5a53c3e0]]
DESC_OBJS_PACKFRAG_ROOT 
31[[#5a53c380]]
NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label 
32[[#5a53c380]]
NewSourceContainerWorkbookPage_ToolBar_CreateSrcFolder_label 
41[[#504de620]]
NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip 
42[[#504de620]]
NewSourceContainerWorkbookPage_ToolBar_CreateSrcFolder_tooltip 
51[[#5a494780]]
0 
52[[#5a494780]]
6