CloneSet2594


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18109
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java
28131
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java
Clone Instance
1
Line Count
8
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java

                IPackageFragmentRoot[] roots = jproject.getPackageFragmentRoots();
                for (int i = 0; i < roots.length; i++) {
                        IPackageFragmentRoot root = roots[i];
                        type = findType(root, fullyQualifiedName);
                        if (type != null && type.exists())
                                return type;
                }
                return null;


Clone Instance
2
Line Count
8
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java

                IPackageFragmentRoot[] roots = jproject.getPackageFragmentRoots();
                for (int i = 0; i < roots.length; i++) {
                        IPackageFragmentRoot root = roots[i];
                        type = findType(root, fullyQualifiedName);
                        if (type != null && type.exists())
                                return type;
                }
                return null;


Clone AbstractionParameter Count: 0Parameter Bindings

IPackageFragmentRoot[] roots = jproject.getPackageFragmentRoots();
for (int i = 0; i < roots.length; i++) {
  IPackageFragmentRoot root = roots[i];
  type = findType(root, fullyQualifiedName);
  if (type != null && type.exists())
    return type;
}
return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None