Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.996 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 2641 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 8 | 2649 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5470ee00]] | TokenNamethis |
1 | 2 | [[#5470ee00]] | TokenNamesuper |