| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.966 | statement_sequence |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 27 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionOnParameterizedQualifiedTypeReference.java |
| 2 | 3 | 818 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java |
| ||||
int length = this.typeArguments.length;
System.arraycopy(this.typeArguments, 0, this.typeArguments = new TypeReference[length + 1][], 0, length);
this.typeArguments[length] = assistTypeArguments;
|
| ||||
// grow
int length = this.answers.length;
System.arraycopy(this.answers, 0, this.answers = new String[length + 1][], 0, length);
this.answers[length] = answer;
|
| |||
// grow int length = this. [[#variable72eb3240]].length; System.arraycopy(this. [[#variable72eb3240]], 0, this. [[#variable72eb3240]]= new [[#variable72eb31c0]][length + 1][], 0, length); this. [[#variable72eb3240]][length] = [[#variable72eb3160]]; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#72eb3240]] | typeArguments |
| 1 | 2 | [[#72eb3240]] | answers |
| 2 | 1 | [[#72eb31c0]] | TypeReference |
| 2 | 2 | [[#72eb31c0]] | String |
| 3 | 1 | [[#72eb3160]] | assistTypeArguments |
| 3 | 2 | [[#72eb3160]] | answer |