CloneSet4154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18471
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
2849
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/NameReference.java
Clone Instance
1
Line Count
8
Source Line
471
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java

public void setActualReceiverType(ReferenceBinding receiverType) {
        if (receiverType == null) return; // error scenario only
        this.actualReceiverType = receiverType;
}

public void setDepth(int depth) {
        bits &= ~DepthMASK; // flush previous depth if any
        if (depth > 0) {
                bits |= (depth&  0xff) << DepthSHIFT; // encoded on 8 bits
        }
}


Clone Instance
2
Line Count
8
Source Line
49
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/NameReference.java

public void setActualReceiverType(ReferenceBinding receiverType) {
        if (receiverType == null) return; // error scenario only
        this.actualReceiverType = receiverType;
}

public void setDepth(int depth) {
        bits &= ~DepthMASK; // flush previous depth if any                      
        if (depth > 0) {
                bits |= (depth&  0xff) << DepthSHIFT; // encoded on 8 bits
        }
}


Clone AbstractionParameter Count: 0Parameter Bindings

public void setActualReceiverType(ReferenceBinding receiverType) {
  if (receiverType == null)
    return; // error scenario only
  this.actualReceiverType = receiverType;
}

public void setDepth(int depth) {
  bits &= ~DepthMASK; // flush previous depth if any // flush previous depth if any                  
  if (depth > 0) {
    bits |= (depth&0xff) << DepthSHIFT; // encoded on 8 bits
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None