Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2781 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 6 | 4098 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
if (this.source != null && this.source.length > this.endPosition && this.source[this.endPosition] == '(') { completion = cloneMethod; } else { completion = CharOperation.concat(cloneMethod, new char[] { '(', ')' } ); } |
| ||||
// nothing to insert - do not want to replace the existing selector & arguments if (this.source != null && this.source.length > this.endPosition && this.source[this.endPosition] == '(') { completion = method.selector; } else { completion = CharOperation.concat(method.selector, new char[] { '(', ')' } ); } |
| |||
// nothing to insert - do not want to replace the existing selector & arguments if (this.source != null && this.source.length > this.endPosition && this.source[this.endPosition] == '(') { completion = [[#variable5cc4bdc0]]; } else { completion = CharOperation.concat( [[#variable5cc4bdc0]], new char[] { '(', ')' } ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5cc4bdc0]] | cloneMethod |
1 | 2 | [[#5cc4bdc0]] | method.selector |