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.979 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 116 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java |
2 | 4 | 133 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java |
| ||||
if (fieldDecl.fragments().indexOf(declNode) == 0) { // if it as the first in the list-> insert before listRewrite.insertBefore(newField, parent, null); } else { listRewrite.insertAfter(newField, parent, null); } |
| ||||
if (varDecl.fragments().indexOf(declNode) == 0) { // if it as the first in the list-> insert before listRewrite.insertBefore(newStat, parent, null); } else { listRewrite.insertAfter(newStat, parent, null); } |
| |||
if ( [[#variable9bb3f3e0]].fragments().indexOf(declNode) == 0) { // if it as the first in the list-> insert before listRewrite.insertBefore( [[#variable9bb3f340]], parent, null); } else { listRewrite.insertAfter( [[#variable9bb3f340]], parent, null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bb3f3e0]] | varDecl |
1 | 2 | [[#9bb3f3e0]] | fieldDecl |
2 | 1 | [[#9bb3f340]] | newStat |
2 | 2 | [[#9bb3f340]] | newField |