CloneSet902


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8440.954executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18158
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java
28198
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java
38359
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java
48403
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java
Clone Instance
1
Line Count
8
Source Line
158
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java

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


Clone Instance
2
Line Count
8
Source Line
198
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java

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


Clone Instance
3
Line Count
8
Source Line
359
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java

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


Clone Instance
4
Line Count
8
Source Line
403
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java

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


Clone AbstractionParameter Count: 4Parameter Bindings

{
  this. [[#variableb3b0d540]]= new ITypeBinding[ [[#variableb3b0d4c0]]];
  for (int i = 0; i <  [[#variableb3b0d4c0]]; i++) {
    ITypeBinding typeBinding = this.resolver.getTypeBinding( [[#variableb3b0d440]][i]);
    if (typeBinding == null) {
      return this. [[#variableb3b0d540]]= NO_TYPE_BINDINGS;
    }
     [[#variableb3b0d3c0]][i] = typeBinding;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3b0d540]]
parameterTypes 
12[[#b3b0d540]]
exceptionTypes 
13[[#b3b0d540]]
typeParameters 
14[[#b3b0d540]]
typeArguments 
21[[#b3b0d4c0]]
length 
22[[#b3b0d4c0]]
length 
23[[#b3b0d4c0]]
typeVariableBindingsLength 
24[[#b3b0d4c0]]
typeArgumentsLength 
31[[#b3b0d440]]
parameters 
32[[#b3b0d440]]
exceptions 
33[[#b3b0d440]]
typeVariableBindings 
34[[#b3b0d440]]
typeArgumentsBindings 
41[[#b3b0d3c0]]
this.parameterTypes 
42[[#b3b0d3c0]]
this.exceptionTypes 
43[[#b3b0d3c0]]
typeParameters 
44[[#b3b0d3c0]]
this.typeArguments