CloneSet4147


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.955statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13285
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.java
24142
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/RawTypeBinding.java
Clone Instance
1
Line Count
3
Source Line
285
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.java

                TypeBinding[] rawArguments = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        rawArguments[i] =  environment.convertToRawType(originalVariables[i].erasure());
                }


Clone Instance
2
Line Count
4
Source Line
142
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/RawTypeBinding.java

                TypeBinding[] typeArguments = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        // perform raw conversion on variable upper bound - could cause infinite regression if arguments were initialized lazily
                    typeArguments[i] = this.environment.convertToRawType(typeVariables[i].erasure());
                }


Clone AbstractionParameter Count: 3Parameter Bindings

TypeBinding[]  [[#variableb6f71a60]]= new TypeBinding[length];
for (int i = 0; i < length; i++) {
   [[#variableb6f71a60]][i] = [[#variableb6f71a40]].convertToRawType( [[#variableb6f719e0]][i].erasure());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6f71a60]]
rawArguments 
12[[#b6f71a60]]
typeArguments 
21[[#b6f71a40]]
environment 
22[[#b6f71a40]]
this.environment 
31[[#b6f719e0]]
originalVariables 
32[[#b6f719e0]]
typeVariables