CloneSet5260


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.967class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14370
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java
2634
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocMemberContentProvider.java
34234
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java
Clone Instance
1
Line Count
4
Source Line
370
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java

                /*
                 * @see ITreeContentProvider#getParent(Object)
                 */
                public Object getParent(Object element) {
                        if (element instanceof IMethod)
                                return ((IMethod) element).getDeclaringType();
                        return null;
                }


Clone Instance
2
Line Count
6
Source Line
34
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocMemberContentProvider.java

        /*
         * @see ITreeContentProvider#getParent(Object)
         */
        public Object getParent(Object element) {
                //@test
                //System.out.println(element.getClass().toString());
                if (element instanceof IPackageFragment)
                        return ((IPackageFragment) element).getParent();
                return null;
        }


Clone Instance
3
Line Count
4
Source Line
234
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java

                                public Object getParent(Object element) {
                                    if (element instanceof InnerNode)
                                        return ((InnerNode) element).getParent();
                                    return null;
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * @see ITreeContentProvider#getParent(Object)
         */
/*
                 * @see ITreeContentProvider#getParent(Object)
                 */
public Object getParent(Object element) {
  //@test
  //System.out.println(element.getClass().toString());
  if (element instanceof [[#variableb2e8e260]])
    return (( [[#variableb2e8e260]]) element). [[#variableb2e8e200]]();
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2e8e260]]
InnerNode 
12[[#b2e8e260]]
IPackageFragment 
13[[#b2e8e260]]
IMethod 
21[[#b2e8e200]]
getParent 
22[[#b2e8e200]]
getParent 
23[[#b2e8e200]]
getDeclaringType