CloneSet5064


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8250.954class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1873
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
2862
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java
Clone Instance
1
Line Count
8
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java

        private final IWorkbenchSite fSite;

        private final List fSelectedElements; //IJavaProject || IPackageFrament || IFolder

        public AddFolderToBuildpathAction(IWorkbenchSite site) {
                super(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label, JavaPluginImages.DESC_OBJS_PACKFRAG_ROOT);
                setToolTipText(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip);
                fSite = site;
                fSelectedElements = new ArrayList();
        }


Clone Instance
2
Line Count
8
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java

        private final IWorkbenchSite fSite;

        private List fSelectedElements; //IPackageFramgentRoot || IJavaProject || ClassPathContainer iff isEnabled()

        public RemoveFromBuildpathAction(IWorkbenchSite site) {
                super(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label, JavaPluginImages.DESC_ELCL_REMOVE_FROM_BP);
                setToolTipText(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip);
                fSite = site;
                fSelectedElements = new ArrayList();
        }


Clone AbstractionParameter Count: 5Parameter Bindings

private final IWorkbenchSite fSite;

 [[#variable9229bbc0]]List fSelectedElements; //IPackageFramgentRoot || IJavaProject || ClassPathContainer iff isEnabled() //IJavaProject || IPackageFrament || IFolder

public [[#variable9229bb40]](IWorkbenchSite site) {
  super(NewWizardMessages. [[#variable9229ba00]], JavaPluginImages. [[#variable9229ba40]]);
  setToolTipText(NewWizardMessages. [[#variable9229ba60]]);
  fSite = site;
  fSelectedElements = new ArrayList();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9229bbc0]]
private 
12[[#9229bbc0]]
private final 
21[[#9229bb40]]
RemoveFromBuildpathAction 
22[[#9229bb40]]
AddFolderToBuildpathAction 
31[[#9229ba00]]
NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label 
32[[#9229ba00]]
NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label 
41[[#9229ba40]]
DESC_ELCL_REMOVE_FROM_BP 
42[[#9229ba40]]
DESC_OBJS_PACKFRAG_ROOT 
51[[#9229ba60]]
NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip 
52[[#9229ba60]]
NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip