Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.955 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 285 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.java |
2 | 4 | 142 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/RawTypeBinding.java |
| ||||
TypeBinding[] rawArguments = new TypeBinding[length]; for (int i = 0; i < length; i++) { rawArguments[i] = environment.convertToRawType(originalVariables[i].erasure()); } |
| ||||
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()); } |
| |||
TypeBinding[] [[#variableb6f71a60]]= new TypeBinding[length]; for (int i = 0; i < length; i++) { [[#variableb6f71a60]][i] = [[#variableb6f71a40]].convertToRawType( [[#variableb6f719e0]][i].erasure()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6f71a60]] | rawArguments |
1 | 2 | [[#b6f71a60]] | typeArguments |
2 | 1 | [[#b6f71a40]] | environment |
2 | 2 | [[#b6f71a40]] | this.environment |
3 | 1 | [[#b6f719e0]] | originalVariables |
3 | 2 | [[#b6f719e0]] | typeVariables |