CloneSet501


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23250.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123738
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java
223763
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java
Clone Instance
1
Line Count
23
Source Line
738
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java

final public boolean isPotentiallyNonNull(LocalVariableBinding local) {
        if ((this.tagBits&  NULL_FLAG_MASK) == 0 ||
                        (local.type.tagBits&  TagBits.IsBaseType) != 0) {
                return false;
        }
        int position;
        if ((position = local.id + this.maxFieldCount) < BitCacheSize) {
                // use bits
                return ((this.nullBit3&  ( ~this.nullBit1|  ~this.nullBit2))&
                              (1L << position)) != 0;
        }
        // use extra vector
        if (this.extra == null) {
                return false; // if vector not yet allocated, then not initialized
        }
        int vectorIndex;
        if ((vectorIndex = (position / BitCacheSize) - 1) >=
                        this.extra[0].length) {
                return false; // if not enough room in vector, then not initialized
        }
        return ((this.extra[4][vectorIndex]&
                          ( ~this.extra[2][vectorIndex]|  ~this.extra[3][vectorIndex]))&
                      (1L << (position % BitCacheSize))) != 0;
}


Clone Instance
2
Line Count
23
Source Line
763
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java

final public boolean isPotentiallyNull(LocalVariableBinding local) {
        if ((this.tagBits&  NULL_FLAG_MASK) == 0 ||
                        (local.type.tagBits&  TagBits.IsBaseType) != 0) {
                return false;
        }
        int position;
        if ((position = local.id + this.maxFieldCount) < BitCacheSize) {
                // use bits
                return ((this.nullBit2&  ( ~this.nullBit1|  ~this.nullBit3))&
                              (1L << position)) != 0;
        }
        // use extra vector
        if (this.extra == null) {
                return false; // if vector not yet allocated, then not initialized
        }
        int vectorIndex;
        if ((vectorIndex = (position / BitCacheSize) - 1) >=
                        this.extra[0].length) {
                return false; // if not enough room in vector, then not initialized
        }
        return ((this.extra[3][vectorIndex]&
                          ( ~this.extra[2][vectorIndex]|  ~this.extra[4][vectorIndex]))&
                      (1L << (position % BitCacheSize))) != 0;
}


Clone AbstractionParameter Count: 5Parameter Bindings

final public boolean  [[#variable5e6b9a80]](LocalVariableBinding local) {
  if ((this.tagBits&NULL_FLAG_MASK) == 0 || (local.type.tagBits&TagBits.IsBaseType) != 0) {
    return false;
  }
  int position;
  if ((position = local.id + this.maxFieldCount) < BitCacheSize) {
    // use bits
    return ((this. [[#variable5e6b9a20]]&( ~this.nullBit1| ~this. [[#variable5e6b99c0]]))&(1L << position)) != 0;
  }
  // use extra vector
  if (this.extra == null) {
    return false; // if vector not yet allocated, then not initialized
  }
  int vectorIndex;
  if ((vectorIndex = (position / BitCacheSize) - 1) >= this.extra[0].length) {
    return false; // if not enough room in vector, then not initialized
  }
  return ((this.extra[ [[#variable5e6b9900]]][vectorIndex]&( ~this.extra[2][vectorIndex]| ~this.extra[ [[#variable5e6b9820]]][vectorIndex]))&(1L << (position % BitCacheSize))) != 0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e6b9a80]]
isPotentiallyNonNull 
12[[#5e6b9a80]]
isPotentiallyNull 
21[[#5e6b9a20]]
nullBit3 
22[[#5e6b9a20]]
nullBit2 
31[[#5e6b99c0]]
nullBit2 
32[[#5e6b99c0]]
nullBit3 
41[[#5e6b9900]]
4 
42[[#5e6b9900]]
3 
51[[#5e6b9820]]
3 
52[[#5e6b9820]]
4