CloneSet2074


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17210.993statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117643
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java
217691
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java
Clone Instance
1
Line Count
17
Source Line
643
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java

        int accessMode;
        if (selector == this.assistIdentifier()) {
                if (CharOperation.equals(selector, SUPER)) {
                        accessMode = ExplicitConstructorCall.Super;
                }
                else   if (CharOperation.equals(selector, THIS)) {
                        accessMode = ExplicitConstructorCall.This;
                       }
                       else {
                        super.consumeMethodInvocationName();
                        return;
                       }
        }
        else   {
                super.consumeMethodInvocationName();
                return;
        }
        final ExplicitConstructorCall constructorCall = new SelectionOnExplicitConstructorCall(accessMode);
        constructorCall.sourceEnd = rParenPos;


Clone Instance
2
Line Count
17
Source Line
691
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java

        int accessMode;
        if (selector == this.assistIdentifier()) {
                if (CharOperation.equals(selector, SUPER)) {
                        accessMode = ExplicitConstructorCall.Super;
                }
                else   if (CharOperation.equals(selector, THIS)) {
                        accessMode = ExplicitConstructorCall.This;
                       }
                       else {
                        super.consumeMethodInvocationPrimary();
                        return;
                       }
        }
        else   {
                super.consumeMethodInvocationPrimary();
                return;
        }
        final ExplicitConstructorCall constructorCall = new SelectionOnExplicitConstructorCall(accessMode);
        constructorCall.sourceEnd = rParenPos;


Clone AbstractionParameter Count: 1Parameter Bindings

int accessMode;
if (selector == this.assistIdentifier()) {
  if (CharOperation.equals(selector, SUPER)) {
    accessMode = ExplicitConstructorCall.Super;
  }
  else
    if (CharOperation.equals(selector, THIS)) {
      accessMode = ExplicitConstructorCall.This;
    }
    else {
      super. [[#variable7d4b2760]]();
      return;
    }
}
else {
  super. [[#variable7d4b2760]]();
  return;
}
final ExplicitConstructorCall constructorCall = new SelectionOnExplicitConstructorCall(accessMode);
constructorCall.sourceEnd = rParenPos;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d4b2760]]
consumeMethodInvocationPrimary 
12[[#7d4b2760]]
consumeMethodInvocationName