Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.968 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 131 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
2 | 2 | 582 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
ListRewrite listRewriter = rewrite.getListRewrite(decl, MethodDeclaration.PARAMETERS_PROPERTY); listRewriter.insertLast(newDecl, null); |
| ||||
ListRewrite listRewriter = rewrite.getListRewrite(methodDeclaration, MethodDeclaration.THROWN_EXCEPTIONS_PROPERTY); listRewriter.insertLast(newName, null); |
| |||
ListRewrite listRewriter = rewrite.getListRewrite( [[#variable5a52d940]], MethodDeclaration. [[#variable5a54e380]]); listRewriter.insertLast( [[#variable5a52d8e0]], null); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a52d940]] | decl |
1 | 2 | [[#5a52d940]] | methodDeclaration |
2 | 1 | [[#5a54e380]] | PARAMETERS_PROPERTY |
2 | 2 | [[#5a54e380]] | THROWN_EXCEPTIONS_PROPERTY |
3 | 1 | [[#5a52d8e0]] | newDecl |
3 | 2 | [[#5a52d8e0]] | newName |