CloneSet2832


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12250.959class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1122322
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
2122343
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
12
Source Line
2322
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                private IAccessRule[] loadAccessRules() throws IOException {
                        int count = loadInt();

                        if (count == 0)
                                return ClasspathEntry.NO_ACCESS_RULES;

                        IAccessRule[] rules = new IAccessRule[count];

                        for (int i = 0; i < count; ++i)
                                rules[i] = loadAccessRule();

                        return rules;
                }


Clone Instance
2
Line Count
12
Source Line
2343
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                private IClasspathAttribute[] loadAttributes() throws IOException {
                        int count = loadInt();

                        if (count == 0)
                                return ClasspathEntry.NO_EXTRA_ATTRIBUTES;

                        IClasspathAttribute[] attributes = new IClasspathAttribute[count];

                        for (int i = 0; i < count; ++i)
                                attributes[i] = loadAttribute();

                        return attributes;
                }


Clone AbstractionParameter Count: 5Parameter Bindings

private [[#variable50634580]][]  [[#variable506344e0]]() throws IOException {
  int count = loadInt();
  if (count == 0)
    return ClasspathEntry. [[#variable50634440]];
   [[#variable50634580]][]  [[#variable506343c0]]= new [[#variable50634580]][count];
  for (int i = 0; i < count; ++i)
     [[#variable506343c0]][i] = [[#variable50634340]]();
  return [[#variable506343c0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50634580]]
IAccessRule 
12[[#50634580]]
IClasspathAttribute 
21[[#506344e0]]
loadAccessRules 
22[[#506344e0]]
loadAttributes 
31[[#50634440]]
NO_ACCESS_RULES 
32[[#50634440]]
NO_EXTRA_ATTRIBUTES 
41[[#506343c0]]
rules 
42[[#506343c0]]
attributes 
51[[#50634340]]
loadAccessRule 
52[[#50634340]]
loadAttribute