Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.993 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 619 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java |
2 | 9 | 687 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java |
| ||||
if ( !isStatic()) { // static member types do not compare their enclosing ReferenceBinding enclosing = enclosingType(); if (enclosing != null) { ReferenceBinding otherEnclosing = otherParamType.enclosingType(); if (otherEnclosing == null) return false; if ((otherEnclosing.tagBits& TagBits.HasDirectWildcard) == 0) { if (enclosing != otherEnclosing) return false; } else { if ( !enclosing.isEquivalentTo(otherParamType.enclosingType())) return false; } } } |
| ||||
if ( !isStatic()) { // static member types do not compare their enclosing ReferenceBinding enclosing = enclosingType(); if (enclosing != null) { ReferenceBinding otherEnclosing = otherGenericType.enclosingType(); if (otherEnclosing == null) return false; if ((otherEnclosing.tagBits& TagBits.HasDirectWildcard) == 0) { if (enclosing != otherEnclosing) return false; } else { if ( !enclosing.isEquivalentTo(otherGenericType.enclosingType())) return false; } } } |
| |||
if ( !isStatic()) { // static member types do not compare their enclosing ReferenceBinding enclosing = enclosingType(); if (enclosing != null) { ReferenceBinding otherEnclosing = [[#variablea33bb700]].enclosingType(); if (otherEnclosing == null) return false; if ((otherEnclosing.tagBits&TagBits.HasDirectWildcard) == 0) { if (enclosing != otherEnclosing) return false; } else { if ( !enclosing.isEquivalentTo( [[#variablea33bb700]].enclosingType())) return false; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a33bb700]] | otherParamType |
1 | 2 | [[#a33bb700]] | otherGenericType |