CloneSet3212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19426
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
29318
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
Clone Instance
1
Line Count
9
Source Line
426
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java

                       {
                        // compute generic cast if necessary
                        TypeBinding receiverErasure = this.actualReceiverType.erasure();
                        if (receiverErasure instanceof ReferenceBinding) {
                                if (receiverErasure.findSuperTypeWithSameErasure(this.binding.declaringClass) == null) {
                                        this.actualReceiverType = this.binding.declaringClass; // handle indirect inheritance thru variable secondary bound
                                }
                        }
                        receiver.computeConversion(scope, this.actualReceiverType, this.actualReceiverType);
                       }


Clone Instance
2
Line Count
9
Source Line
318
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java

                       {
                        // compute generic cast if necessary
                        TypeBinding receiverErasure = this.actualReceiverType.erasure();
                        if (receiverErasure instanceof ReferenceBinding) {
                                if (receiverErasure.findSuperTypeWithSameErasure(this.binding.declaringClass) == null) {
                                        this.actualReceiverType = this.binding.declaringClass; // handle indirect inheritance thru variable secondary bound
                                }
                        }
                        receiver.computeConversion(scope, this.actualReceiverType, this.actualReceiverType);
                       }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  // compute generic cast if necessary
  TypeBinding receiverErasure = this.actualReceiverType.erasure();
  if (receiverErasure instanceof ReferenceBinding) {
    if (receiverErasure.findSuperTypeWithSameErasure(this.binding.declaringClass) == null) {
      this.actualReceiverType = this.binding.declaringClass; // handle indirect inheritance thru variable secondary bound
    }
  }
  receiver.computeConversion(scope, this.actualReceiverType, this.actualReceiverType);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None