Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 32 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionOnParameterizedQualifiedTypeReference.java |
2 | 8 | 24 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionOnParameterizedSingleTypeReference.java |
| ||||
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { super.resolveType(scope, checkBounds); //// removed unnecessary code to solve bug 94653 //if(this.resolvedType != null && this.resolvedType.isRawType()) { // ParameterizedTypeBinding parameterizedTypeBinding = scope.createParameterizedType(((RawTypeBinding)this.resolvedType).type, new TypeBinding[0], this.resolvedType.enclosingType()); // throw new SelectionNodeFound(parameterizedTypeBinding); //} throw new SelectionNodeFound(this.resolvedType); } public TypeBinding resolveType(ClassScope scope) { super.resolveType(scope); //// removed unnecessary code to solve bug 94653 //if(this.resolvedType != null && this.resolvedType.isRawType()) { // ParameterizedTypeBinding parameterizedTypeBinding = scope.createParameterizedType(((RawTypeBinding)this.resolvedType).type, new TypeBinding[0], this.resolvedType.enclosingType()); // throw new SelectionNodeFound(parameterizedTypeBinding); //} throw new SelectionNodeFound(this.resolvedType); } |
| ||||
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { super.resolveType(scope, checkBounds); throw new SelectionNodeFound(this.resolvedType); } public TypeBinding resolveType(ClassScope scope) { super.resolveType(scope); throw new SelectionNodeFound(this.resolvedType); } |
| |||
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { super.resolveType(scope, checkBounds); //// removed unnecessary code to solve bug 94653 //if(this.resolvedType != null && this.resolvedType.isRawType()) { // ParameterizedTypeBinding parameterizedTypeBinding = scope.createParameterizedType(((RawTypeBinding)this.resolvedType).type, new TypeBinding[0], this.resolvedType.enclosingType()); // throw new SelectionNodeFound(parameterizedTypeBinding); //} throw new SelectionNodeFound(this.resolvedType); } public TypeBinding resolveType(ClassScope scope) { super.resolveType(scope); //// removed unnecessary code to solve bug 94653 //if(this.resolvedType != null && this.resolvedType.isRawType()) { // ParameterizedTypeBinding parameterizedTypeBinding = scope.createParameterizedType(((RawTypeBinding)this.resolvedType).type, new TypeBinding[0], this.resolvedType.enclosingType()); // throw new SelectionNodeFound(parameterizedTypeBinding); //} throw new SelectionNodeFound(this.resolvedType); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |