CloneSet2611


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111286
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
211300
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
Clone Instance
1
Line Count
11
Source Line
286
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java

                                                              {
                                if (this.binding.declaringClass == null) {
                                        if (this.actualReceiverType instanceof ReferenceBinding) {
                                                this.binding.declaringClass = (ReferenceBinding) this.actualReceiverType;
                                        }
                                        else   { // really bad error ....
                                                scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
                                                return null;
                                        }
                                }
                                scope.problemReporter().invalidMethod(this, this.binding);
                                return null;
                                                              }


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

                       {
                        if (this.binding.declaringClass == null) {
                                if (this.actualReceiverType instanceof ReferenceBinding) {
                                        this.binding.declaringClass = (ReferenceBinding) this.actualReceiverType;
                                }
                                else   { // really bad error ....
                                        scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
                                        return null;
                                }
                        }
                        scope.problemReporter().invalidMethod(this, this.binding);
                        return null;
                       }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (this.binding.declaringClass == null) {
    if (this.actualReceiverType instanceof ReferenceBinding) {
      this.binding.declaringClass = (ReferenceBinding) this.actualReceiverType;
    }
    else { // really bad error ....
      scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
      return null;
    }
  }
  scope.problemReporter().invalidMethod(this, this.binding);
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None