CloneSet2080


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.993statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19619
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
29687
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
Clone Instance
1
Line Count
9
Source Line
619
Source File
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;
                                }
                        }
                    }


Clone Instance
2
Line Count
9
Source Line
687
Source File
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 = 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;
                                }
                        }
                    }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a33bb700]]
otherParamType 
12[[#a33bb700]]
otherGenericType