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.965 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 110 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java |
2 | 3 | 128 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java |
| ||||
VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode); FieldDeclaration newField = ast.newFieldDeclaration(placeholder); newField.setType(type); |
| ||||
VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode); VariableDeclarationStatement newStat = ast.newVariableDeclarationStatement(placeholder); newStat.setType(type); |
| |||
VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode); [[#variable6010fa00]] [[#variable6014c9c0]]= ast. [[#variable6014d460]](placeholder); [[#variable6014c9c0]].setType(type); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6010fa00]] | FieldDeclaration |
1 | 2 | [[#6010fa00]] | VariableDeclarationStatement |
2 | 1 | [[#6014c9c0]] | newField |
2 | 2 | [[#6014c9c0]] | newStat |
3 | 1 | [[#6014d460]] | newFieldDeclaration |
3 | 2 | [[#6014d460]] | newVariableDeclarationStatement |