| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.981 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 394 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SelectionRequestor.java |
| 2 | 4 | 517 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SelectionRequestor.java |
| ||||
IJavaElement[] previousElement = this.elements;
int previousElementIndex = this.elementIndex;
this.elements = JavaElement.NO_ELEMENTS;
this.elementIndex = -1;
|
| ||||
// more than one match - must match simple parameter types
IJavaElement[] matches = this.elements;
int matchesIndex = this.elementIndex;
this.elements = JavaElement.NO_ELEMENTS;
this.elementIndex = -1;
|
| |||
// more than one match - must match simple parameter types IJavaElement[] [[#variable53afc260]]= this.elements; int [[#variable53afcb60]]= this.elementIndex; this.elements = JavaElement.NO_ELEMENTS; this.elementIndex = -1; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#53afc260]] | previousElement |
| 1 | 2 | [[#53afc260]] | matches |
| 2 | 1 | [[#53afcb60]] | previousElementIndex |
| 2 | 2 | [[#53afcb60]] | matchesIndex |