CloneSet938


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6550.951executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
26403
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
36844
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
46892
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
56920
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
Clone Instance
1
Line Count
6
Source Line
248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

                                for (int i = 0; i < length; i++) {
                                        ITypeBinding typeBinding = this.resolver.getTypeBinding(members[i]);
                                        if (typeBinding == null) {
                                                return NO_TYPE_BINDINGS;
                                        }
                                        newMembers[i] = typeBinding;
                                }


Clone Instance
2
Line Count
6
Source Line
403
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

                        for (int i = 0; i < length; i++) {
                                ITypeBinding typeBinding = this.resolver.getTypeBinding(interfaces[i]);
                                if (typeBinding == null) {
                                        return NO_TYPE_BINDINGS;
                                }
                                newInterfaces[i] = typeBinding;
                        }


Clone Instance
3
Line Count
6
Source Line
844
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

                                for (int i = 0; i < argumentsLength; i++) {
                                        ITypeBinding typeBinding = this.resolver.getTypeBinding(arguments[i]);
                                        if (typeBinding == null) {
                                                return NO_TYPE_BINDINGS;
                                        }
                                        typeArguments[i] = typeBinding;
                                }


Clone Instance
4
Line Count
6
Source Line
892
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

                                        for (int i = 0; i < superinterfacesLength; i++ ,boundsIndex++) {
                                                ITypeBinding typeBinding = this.resolver.getTypeBinding(superinterfaces[i]);
                                                if (typeBinding == null) {
                                                        return NO_TYPE_BINDINGS;
                                                }
                                                typeBounds[boundsIndex] = typeBinding;
                                        }


Clone Instance
5
Line Count
6
Source Line
920
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

                                for (int i = 0; i < typeVariableBindingsLength; i++) {
                                        ITypeBinding typeBinding = this.resolver.getTypeBinding(typeVariableBindings[i]);
                                        if (typeBinding == null) {
                                                return NO_TYPE_BINDINGS;
                                        }
                                        typeParameters[i] = typeBinding;
                                }


Clone AbstractionParameter Count: 5Parameter Bindings

for (int i = 0; i <  [[#variable95b22880]]; [[#variable95b22800]]) {
  ITypeBinding typeBinding = this.resolver.getTypeBinding( [[#variable95b227a0]][i]);
  if (typeBinding == null) {
    return NO_TYPE_BINDINGS;
  }
   [[#variableb5e7e280]][ [[#variable95b22840]]] = typeBinding;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95b22880]]
length 
12[[#95b22880]]
length 
13[[#95b22880]]
argumentsLength 
14[[#95b22880]]
superinterfacesLength 
15[[#95b22880]]
typeVariableBindingsLength 
21[[#95b22800]]
i++ 
22[[#95b22800]]
i++ 
23[[#95b22800]]
i++ 
24[[#95b22800]]
i++ , boundsIndex++ 
25[[#95b22800]]
i++ 
31[[#95b227a0]]
members 
32[[#95b227a0]]
interfaces 
33[[#95b227a0]]
arguments 
34[[#95b227a0]]
superinterfaces 
35[[#95b227a0]]
typeVariableBindings 
41[[#b5e7e280]]
newMembers 
42[[#b5e7e280]]
newInterfaces 
43[[#b5e7e280]]
typeArguments 
44[[#b5e7e280]]
typeBounds 
45[[#b5e7e280]]
typeParameters 
51[[#95b22840]]
i 
52[[#95b22840]]
i 
53[[#95b22840]]
i 
54[[#95b22840]]
boundsIndex 
55[[#95b22840]]
i