Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.966 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 199 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java |
2 | 5 | 256 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java |
| ||||
case ASTNode.ARRAY_CREATION: if (((ArrayCreation) parent).dimensions().contains(node)) { return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$ } break; |
| ||||
case ASTNode.SWITCH_STATEMENT: if (((SwitchStatement) parent).getExpression().equals(node)) { return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$ } break; |
| |||
case ASTNode. [[#variable5c7c0020]]: if ((( [[#variable5c7abf80]]) parent). [[#variable5c7abee0]](). [[#variable5c7abde0]](node)) { return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$ } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c7c0020]] | ARRAY_CREATION |
1 | 2 | [[#5c7c0020]] | SWITCH_STATEMENT |
2 | 1 | [[#5c7abf80]] | ArrayCreation |
2 | 2 | [[#5c7abf80]] | SwitchStatement |
3 | 1 | [[#5c7abee0]] | dimensions |
3 | 2 | [[#5c7abee0]] | getExpression |
4 | 1 | [[#5c7abde0]] | contains |
4 | 2 | [[#5c7abde0]] | equals |