Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.993 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 250 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
2 | 5 | 431 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
| ||||
TagElement tagNode1 = findParamTag(methodDecl, decl1); TagElement tagNode2 = findParamTag(methodDecl, decl2); if (tagNode1 != null && tagNode2 != null) { rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null); rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null); } |
| ||||
TagElement tagNode1 = findThrowsTag(methodDecl, decl1); TagElement tagNode2 = findThrowsTag(methodDecl, decl2); if (tagNode1 != null && tagNode2 != null) { rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null); rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null); } |
| |||
TagElement tagNode1 = [[#variable9172f620]](methodDecl, decl1); TagElement tagNode2 = [[#variable9172f620]](methodDecl, decl2); if (tagNode1 != null && tagNode2 != null) { rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null); rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9172f620]] | findThrowsTag |
1 | 2 | [[#9172f620]] | findParamTag |