Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.979 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 151 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
2 | 5 | 358 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
| ||||
ImportRewrite imports = getImportRewrite(); ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration.PARAMETERS_PROPERTY); List parameters = methodDecl.parameters(); // old parameters int k = 0; // index over the oldParameters |
| ||||
ImportRewrite imports = getImportRewrite(); ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration.THROWN_EXCEPTIONS_PROPERTY); List exceptions = methodDecl.thrownExceptions(); // old exceptions int k = 0; // index over the old exceptions |
| |||
ImportRewrite imports = getImportRewrite(); ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration. [[#variable5e9faa20]]); List [[#variable5e9fa9c0]]= methodDecl. [[#variable5e9fb200]](); // old exceptions // old parameters int k = 0; // index over the old exceptions // index over the oldParameters |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e9faa20]] | THROWN_EXCEPTIONS_PROPERTY |
1 | 2 | [[#5e9faa20]] | PARAMETERS_PROPERTY |
2 | 1 | [[#5e9fa9c0]] | exceptions |
2 | 2 | [[#5e9fa9c0]] | parameters |
3 | 1 | [[#5e9fb200]] | thrownExceptions |
3 | 2 | [[#5e9fb200]] | parameters |