Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.988 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 364 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java |
2 | 2 | 457 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java |
| ||||
if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers(variableDeclaration)) == null) { ModifierRewrite.create(rewrite, variableDeclaration).setModifiers(Modifier.FINAL, Modifier.NONE, null); } |
| ||||
if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers(fragment)) == null) { ModifierRewrite.create(rewrite, statement).setModifiers(Modifier.FINAL, Modifier.NONE, null); } |
| |||
if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers( [[#variable7541c4c0]])) == null) { ModifierRewrite.create(rewrite, [[#variable7541c440]]).setModifiers(Modifier.FINAL, Modifier.NONE, null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7541c4c0]] | fragment |
1 | 2 | [[#7541c4c0]] | variableDeclaration |
2 | 1 | [[#7541c440]] | statement |
2 | 2 | [[#7541c440]] | variableDeclaration |