CloneSet559


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
41020.976statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14761
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
24843
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
34120
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JarPackageFragment.java
44215
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java
54201
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java
64224
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java
74230
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
84351
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
94377
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
104532
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
Clone Instance
1
Line Count
4
Source Line
761
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

        ArrayList list = getChildrenOfType(PACKAGE_DECLARATION);
        IPackageDeclaration[] array = new IPackageDeclaration[list.size()];
        list.toArray(array);
        return array;


Clone Instance
2
Line Count
4
Source Line
843
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

        ArrayList list = getChildrenOfType(TYPE);
        IType[] array = new IType[list.size()];
        list.toArray(array);
        return array;


Clone Instance
3
Line Count
4
Source Line
120
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JarPackageFragment.java

        ArrayList list = getChildrenOfType(CLASS_FILE);
        IClassFile[] array = new IClassFile[list.size()];
        list.toArray(array);
        return array;


Clone Instance
4
Line Count
4
Source Line
215
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java

        ArrayList list = getChildrenOfType(JAVA_PROJECT);
        IJavaProject[] array = new IJavaProject[list.size()];
        list.toArray(array);
        return array;


Clone Instance
5
Line Count
4
Source Line
201
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java

        ArrayList list = getChildrenOfType(CLASS_FILE);
        IClassFile[] array = new IClassFile[list.size()];
        list.toArray(array);
        return array;


Clone Instance
6
Line Count
4
Source Line
224
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java

        ArrayList list = getChildrenOfType(COMPILATION_UNIT);
        ICompilationUnit[] array = new ICompilationUnit[list.size()];
        list.toArray(array);
        return array;


Clone Instance
7
Line Count
4
Source Line
230
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java

        ArrayList list = getChildrenOfType(FIELD);
        IField[] array = new IField[list.size()];
        list.toArray(array);
        return array;


Clone Instance
8
Line Count
4
Source Line
351
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java

        ArrayList list = getChildrenOfType(INITIALIZER);
        IInitializer[] array = new IInitializer[list.size()];
        list.toArray(array);
        return array;


Clone Instance
9
Line Count
4
Source Line
377
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java

        ArrayList list = getChildrenOfType(METHOD);
        IMethod[] array = new IMethod[list.size()];
        list.toArray(array);
        return array;


Clone Instance
10
Line Count
4
Source Line
532
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java

        ArrayList list = getChildrenOfType(TYPE);
        IType[] array = new IType[list.size()];
        list.toArray(array);
        return array;


Clone AbstractionParameter Count: 2Parameter Bindings

ArrayList list = getChildrenOfType( [[#variableb5adb500]]);
 [[#variableb5adae20]][] array = new [[#variableb5adae20]][list.size()];
list.toArray(array);
return array;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b5adb500]]
FIELD 
12[[#b5adb500]]
TYPE 
13[[#b5adb500]]
METHOD 
14[[#b5adb500]]
CLASS_FILE 
15[[#b5adb500]]
INITIALIZER 
16[[#b5adb500]]
COMPILATION_UNIT 
17[[#b5adb500]]
JAVA_PROJECT 
18[[#b5adb500]]
PACKAGE_DECLARATION 
19[[#b5adb500]]
TYPE 
110[[#b5adb500]]
CLASS_FILE 
21[[#b5adae20]]
IField 
22[[#b5adae20]]
IType 
23[[#b5adae20]]
IMethod 
24[[#b5adae20]]
IClassFile 
25[[#b5adae20]]
IInitializer 
26[[#b5adae20]]
ICompilationUnit 
27[[#b5adae20]]
IJavaProject 
28[[#b5adae20]]
IPackageDeclaration 
29[[#b5adae20]]
IType 
210[[#b5adae20]]
IClassFile