CloneSet2388


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119141
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
219143
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
Clone Instance
1
Line Count
19
Source Line
141
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java

        // operation on the returned value
        if (valueRequired) {
                // implicit conversion if necessary
                if (this.valueCast != null)
                        codeStream.checkcast(this.valueCast);
                codeStream.generateImplicitConversion(implicitConversion);
        }
        else   {
                // pop return value if any
                switch (binding.returnType.id) {
                        case T_long:
                        case T_double:
                                codeStream.pop2();
                                break;
                        case T_void:
                                break;
                        default:
                                codeStream.pop();
                      }
        }
        codeStream.recordPositionsFrom(pc, (int) (this.nameSourcePosition >>> 32)); // highlight selector


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

        // operation on the returned value
        if (valueRequired) {
                // implicit conversion if necessary
                if (this.valueCast != null)
                        codeStream.checkcast(this.valueCast);
                codeStream.generateImplicitConversion(implicitConversion);
        }
        else   {
                // pop return value if any
                switch (binding.returnType.id) {
                        case T_long:
                        case T_double:
                                codeStream.pop2();
                                break;
                        case T_void:
                                break;
                        default:
                                codeStream.pop();
                      }
        }
        codeStream.recordPositionsFrom(pc, (int) (this.nameSourcePosition >>> 32)); // highlight selector


Clone AbstractionParameter Count: 0Parameter Bindings

// operation on the returned value
if (valueRequired) {
  // implicit conversion if necessary
  if (this.valueCast != null)
    codeStream.checkcast(this.valueCast);
  codeStream.generateImplicitConversion(implicitConversion);
}
else {
  // pop return value if any
  switch (binding.returnType.id) {
    case T_long:
    case T_double:
      codeStream.pop2();
      break;
    case T_void:
      break;
    default:
      codeStream.pop();
  }
}
codeStream.recordPositionsFrom(pc, (int) (this.nameSourcePosition >>> 32)); // highlight selector
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None