| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.950 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 71 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java |
| 2 | 4 | 105 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java |
| ||||
RecoveredType type = this.types[this.typeCount - 1];
type.bodyEnd = 0; // reset position
type.typeDeclaration.declarationSourceEnd = 0; // reset position
type.typeDeclaration.bodyEnd = 0;
|
| ||||
// add it to the last type
RecoveredType lastType = this.types[this.typeCount - 1];
lastType.bodyEnd = 0; // reopen type
lastType.typeDeclaration.bodyEnd = 0; // reopen type
lastType.typeDeclaration.declarationSourceEnd = 0; // reopen type
|
| |||
// add it to the last type RecoveredType [[#variable761ea800]]= this.types[this.typeCount - 1]; [[#variable761ea800]].bodyEnd = 0; // reset position // reopen type [[#variable761ea800]].typeDeclaration. [[#variable761ea7a0]]= 0; // reset position // reopen type [[#variable761ea800]].typeDeclaration. [[#variable761c1540]]= 0; // reopen type |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#761ea800]] | type |
| 1 | 2 | [[#761ea800]] | lastType |
| 2 | 1 | [[#761ea7a0]] | declarationSourceEnd |
| 2 | 2 | [[#761ea7a0]] | bodyEnd |
| 3 | 1 | [[#761c1540]] | bodyEnd |
| 3 | 2 | [[#761c1540]] | declarationSourceEnd |