Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.955 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 85 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java |
2 | 5 | 112 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java |
| ||||
if (abstractMethod.hasSubstitutedReturnType() && originalInherited.returnType.leafComponentType().isTypeVariable()) { if (((TypeVariableBinding) originalInherited.returnType.leafComponentType()).declaringElement == originalInherited) { // see 81618 - type variable from inherited method TypeBinding currentReturnType = concreteMethod.returnType.leafComponentType(); if ( !currentReturnType.isTypeVariable() || ((TypeVariableBinding) currentReturnType).declaringElement != concreteMethod) problemReporter().unsafeReturnTypeOverride(concreteMethod, originalInherited, this.type); } } |
| ||||
if (inheritedMethod.hasSubstitutedReturnType() && originalInherited.returnType.leafComponentType().isTypeVariable()) { if (((TypeVariableBinding) originalInherited.returnType.leafComponentType()).declaringElement == originalInherited) { // see 81618 - type variable from inherited method TypeBinding currentReturnType = currentMethod.returnType.leafComponentType(); if ( !currentReturnType.isTypeVariable() || ((TypeVariableBinding) currentReturnType).declaringElement != currentMethod) problemReporter(currentMethod).unsafeReturnTypeOverride(currentMethod, originalInherited, this.type); } } |
| |||
if ( [[#variable56338480]].hasSubstitutedReturnType() && originalInherited.returnType.leafComponentType().isTypeVariable()) { if (((TypeVariableBinding) originalInherited.returnType.leafComponentType()).declaringElement == originalInherited) { // see 81618 - type variable from inherited method TypeBinding currentReturnType = [[#variable56338400]].returnType.leafComponentType(); if ( !currentReturnType.isTypeVariable() || ((TypeVariableBinding) currentReturnType).declaringElement != [[#variable56338400]]) problemReporter [[#variable56338380]].unsafeReturnTypeOverride( [[#variable56338400]], originalInherited, this.type); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56338480]] | abstractMethod |
1 | 2 | [[#56338480]] | inheritedMethod |
2 | 1 | [[#56338400]] | concreteMethod |
2 | 2 | [[#56338400]] | currentMethod |
3 | 1 | [[#56338380]] | () |
3 | 2 | [[#56338380]] | (currentMethod) |