CloneSet4786


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21240.959class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121379
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java
21275
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeContentProvider.java
Clone Instance
1
Line Count
21
Source Line
379
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java

                /*
                 * @see ITreeContentProvider#hasChildren(Object)
                 */
                public boolean hasChildren(Object element) {
                        return getChildren(element).length > 0;
                }

                /*
                 * @see IStructuredContentProvider#getElements(Object)
                 */
                public Object[] getElements(Object inputElement) {
                        return fTypes;
                }

                /*
                 * @see IContentProvider#dispose()
                 */
                public void dispose() {
                }

                /*
                 * @see IContentProvider#inputChanged(Viewer, Object, Object)
                 */
                public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
                }


Clone Instance
2
Line Count
12
Source Line
75
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeContentProvider.java

        public boolean hasChildren(Object element) {
                return getChildren(element).length > 0;
        }

        public Object getParent(Object element) {
                return null;
        }

        public void dispose() {
        }

        public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
                 * @see ITreeContentProvider#hasChildren(Object)
                 */
public boolean hasChildren(Object element) {
  return getChildren(element).length > 0;
}

/*
                 * @see IStructuredContentProvider#getElements(Object)
                 */
public Object [[#variable77a7f3c0]]  [[#variable77a7f2a0]](Object  [[#variable77a7eca0]]) {
  return [[#variable56d15340]];
}

/*
                 * @see IContentProvider#dispose()
                 */
public void dispose() {
}

/*
                 * @see IContentProvider#inputChanged(Viewer, Object, Object)
                 */
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77a7f3c0]]
[] 
12[[#77a7f3c0]]
21[[#77a7f2a0]]
getElements 
22[[#77a7f2a0]]
getParent 
31[[#77a7eca0]]
inputElement 
32[[#77a7eca0]]
element 
41[[#56d15340]]
fTypes 
42[[#56d15340]]
null