Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.950 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 96 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java |
2 | 3 | 128 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java |
| ||||
AST ast = rewrite.getAST(); SimpleName nameNode = ast.newSimpleName(fMethod.getName()); addLinkedPosition(rewrite.track(nameNode), false, KEY_NAME); |
| ||||
AST ast = rewrite.getAST(); SimpleName newNameNode = ast.newSimpleName(name); addLinkedPosition(rewrite.track(newNameNode), false, KEY_NAME); |
| |||
AST ast = rewrite.getAST(); SimpleName [[#variableb1612b20]]= ast.newSimpleName( [[#variableb1612e80]]); addLinkedPosition(rewrite.track( [[#variableb1612b20]]), false, KEY_NAME); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1612b20]] | newNameNode |
1 | 2 | [[#b1612b20]] | nameNode |
2 | 1 | [[#b1612e80]] | name |
2 | 2 | [[#b1612e80]] | fMethod.getName() |