Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.958 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 121 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeVariableBinding.java |
2 | 12 | 136 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeVariableBinding.java |
| ||||
{ TypeBinding superType = this.superclass; if (superType != argumentType) { // check identity before substituting (104649) TypeBinding substitutedSuperType = hasSubstitution ? Scope.substitute(substitution, superType): superType; if ( !argumentType.isCompatibleWith(substitutedSuperType)) { return TypeConstants.MISMATCH; } TypeBinding match = argumentType.findSuperTypeWithSameErasure(substitutedSuperType); if (match != null) { // Enum#RAW is not a substitute for <E extends Enum<E>> (86838) if (match.isRawType() && substitutedSuperType.isBoundParameterizedType()) unchecked = true; } } } |
| ||||
{ TypeBinding superType = this.superInterfaces[i]; if (superType != argumentType) { // check identity before substituting (104649) TypeBinding substitutedSuperType = hasSubstitution ? Scope.substitute(substitution, superType): superType; if ( !argumentType.isCompatibleWith(substitutedSuperType)) { return TypeConstants.MISMATCH; } TypeBinding match = argumentType.findSuperTypeWithSameErasure(substitutedSuperType); if (match != null) { // Enum#RAW is not a substitute for <E extends Enum<E>> (86838) if (match.isRawType() && substitutedSuperType.isBoundParameterizedType()) unchecked = true; } } } |
| |||
{ TypeBinding superType = [[#variable5f885280]]; if (superType != argumentType) { // check identity before substituting (104649) TypeBinding substitutedSuperType = hasSubstitution ? Scope.substitute(substitution, superType): superType; if ( !argumentType.isCompatibleWith(substitutedSuperType)) { return TypeConstants.MISMATCH; } TypeBinding match = argumentType.findSuperTypeWithSameErasure(substitutedSuperType); if (match != null) { // Enum#RAW is not a substitute for <E extends Enum<E>> (86838) if (match.isRawType() && substitutedSuperType.isBoundParameterizedType()) unchecked = true; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f885280]] | this.superInterfaces[i] |
1 | 2 | [[#5f885280]] | this.superclass |