| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 16 | 4 | 3 | 0.979 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 16 | 260 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 2 | 16 | 277 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 3 | 16 | 294 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 4 | 16 | 311 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| ||||
if (this.acceptedClasses != null) {
this.acceptedAnswer = true;
for (int i = 0; i < this.acceptedClassesCount; i++) {
this.noProposal = false;
this.requestor.acceptType(
this.acceptedClasses[i][0],
this.acceptedClasses[i][1],
this.acceptedClassesModifiers[i],
false,
null,
this.actualSelectionStart,
this.actualSelectionEnd);
}
this.acceptedClasses = null;
this.acceptedClassesModifiers = null;
this.acceptedClassesCount = 0;
}
|
| ||||
if (this.acceptedInterfaces != null) {
this.acceptedAnswer = true;
for (int i = 0; i < this.acceptedInterfacesCount; i++) {
this.noProposal = false;
this.requestor.acceptType(
this.acceptedInterfaces[i][0],
this.acceptedInterfaces[i][1],
this.acceptedInterfacesModifiers[i],
false,
null,
this.actualSelectionStart,
this.actualSelectionEnd);
}
this.acceptedInterfaces = null;
this.acceptedInterfacesModifiers = null;
this.acceptedInterfacesCount = 0;
}
|
| ||||
if (this.acceptedAnnotations != null) {
this.acceptedAnswer = true;
for (int i = 0; i < this.acceptedAnnotationsCount; i++) {
this.noProposal = false;
this.requestor.acceptType(
this.acceptedAnnotations[i][0],
this.acceptedAnnotations[i][1],
this.acceptedAnnotationsModifiers[i],
false,
null,
this.actualSelectionStart,
this.actualSelectionEnd);
}
this.acceptedAnnotations = null;
this.acceptedAnnotationsModifiers = null;
this.acceptedAnnotationsCount = 0;
}
|
| ||||
if (this.acceptedEnums != null) {
this.acceptedAnswer = true;
for (int i = 0; i < this.acceptedEnumsCount; i++) {
this.noProposal = false;
this.requestor.acceptType(
this.acceptedEnums[i][0],
this.acceptedEnums[i][1],
this.acceptedEnumsModifiers[i],
false,
null,
this.actualSelectionStart,
this.actualSelectionEnd);
}
this.acceptedEnums = null;
this.acceptedEnumsModifiers = null;
this.acceptedEnumsCount = 0;
}
|
| |||
if (this. [[#variable98757c40]]!= null) {
this.acceptedAnswer = true;
for (int i = 0; i < this. [[#variableb49d3a60]]; i++) {
this.noProposal = false;
this.requestor.acceptType(this. [[#variable98757c40]][i][0], this. [[#variable98757c40]][i][1], this. [[#variableb49d3a40]][i], false, null, this.actualSelectionStart, this.actualSelectionEnd);
}
this. [[#variable98757c40]]= null;
this. [[#variableb49d3a40]]= null;
this. [[#variableb49d3a60]]= 0;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#98757c40]] | acceptedClasses |
| 1 | 2 | [[#98757c40]] | acceptedInterfaces |
| 1 | 3 | [[#98757c40]] | acceptedAnnotations |
| 1 | 4 | [[#98757c40]] | acceptedEnums |
| 2 | 1 | [[#b49d3a60]] | acceptedClassesCount |
| 2 | 2 | [[#b49d3a60]] | acceptedInterfacesCount |
| 2 | 3 | [[#b49d3a60]] | acceptedAnnotationsCount |
| 2 | 4 | [[#b49d3a60]] | acceptedEnumsCount |
| 3 | 1 | [[#b49d3a40]] | acceptedClassesModifiers |
| 3 | 2 | [[#b49d3a40]] | acceptedInterfacesModifiers |
| 3 | 3 | [[#b49d3a40]] | acceptedAnnotationsModifiers |
| 3 | 4 | [[#b49d3a40]] | acceptedEnumsModifiers |