Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 1 | 0.993 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 643 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java |
2 | 17 | 691 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d4b2760]] | consumeMethodInvocationPrimary |
1 | 2 | [[#7d4b2760]] | consumeMethodInvocationName |