CloneSet5221


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.960class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17103
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/JUnitWizard.java
2739
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/MacBundleWizard.java
37160
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java
Clone Instance
1
Line Count
7
Source Line
103
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/JUnitWizard.java

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
         */
        public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
                fWorkbench = workbench;
                fSelection = currentSelection;
        }

        public IStructuredSelection getSelection() {
                return fSelection;
        }


Clone Instance
2
Line Count
7
Source Line
39
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/MacBundleWizard.java

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
         */
        public void init(IWorkbench workbench, IStructuredSelection selection) {
                fWorkbench = workbench;
                fSelection = selection;
        }

        IStructuredSelection getSelection() {
                return fSelection;
        }


Clone Instance
3
Line Count
7
Source Line
160
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
         */
        public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
                fWorkbench = workbench;
                fSelection = currentSelection;
        }

        public IStructuredSelection getSelection() {
                return fSelection;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
         */
public void init(IWorkbench workbench, IStructuredSelection  [[#variableb4f8d460]]) {
  fWorkbench = workbench;
  fSelection = [[#variableb4f8d460]];
}

 [[#variableb44dbb80]]IStructuredSelection getSelection() {
  return fSelection;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4f8d460]]
currentSelection 
12[[#b4f8d460]]
selection 
13[[#b4f8d460]]
currentSelection 
21[[#b44dbb80]]
public 
22[[#b44dbb80]]
23[[#b44dbb80]]
public