CloneSet2718


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.996switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
182641
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
282649
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
8
Source Line
2641
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

                                        case TokenNamethis: // explicit constructor invocation, eg. this[(]1, 2)
                                                if (topKnownElementKind(COMPLETION_OR_ASSIST_PARSER) == K_SELECTOR) {
                                                        this.pushOnElementStack(K_SELECTOR_INVOCATION_TYPE, (this.invocationType == QUALIFIED_ALLOCATION) ? QUALIFIED_ALLOCATION:  ALLOCATION);
                                                        this.pushOnElementStack(K_SELECTOR_QUALIFIER, this.qualifier);
                                                }
                                                this.qualifier = -1;
                                                this.invocationType = NO_RECEIVER;
                                                break;


Clone Instance
2
Line Count
8
Source Line
2649
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

                                        case TokenNamesuper: // explicit constructor invocation, eg. super[(]1, 2)
                                                if (topKnownElementKind(COMPLETION_OR_ASSIST_PARSER) == K_SELECTOR) {
                                                        this.pushOnElementStack(K_SELECTOR_INVOCATION_TYPE, (this.invocationType == QUALIFIED_ALLOCATION) ? QUALIFIED_ALLOCATION:  ALLOCATION);
                                                        this.pushOnElementStack(K_SELECTOR_QUALIFIER, this.qualifier);
                                                }
                                                this.qualifier = -1;
                                                this.invocationType = NO_RECEIVER;
                                                break;


Clone AbstractionParameter Count: 1Parameter Bindings

case [[#variable5470ee00]]: // explicit constructor invocation, eg. this[(]1, 2) // explicit constructor invocation, eg. super[(]1, 2)
  if (topKnownElementKind(COMPLETION_OR_ASSIST_PARSER) == K_SELECTOR) {
    this.pushOnElementStack(K_SELECTOR_INVOCATION_TYPE, (this.invocationType == QUALIFIED_ALLOCATION) ? QUALIFIED_ALLOCATION: ALLOCATION);
    this.pushOnElementStack(K_SELECTOR_QUALIFIER, this.qualifier);
  }
  this.qualifier = -1;
  this.invocationType = NO_RECEIVER;
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5470ee00]]
TokenNamethis 
12[[#5470ee00]]
TokenNamesuper