Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 276 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddUnimplementedConstructorsOperation.java |
2 | 11 | 234 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddUnimplementedMethodsOperation.java |
| ||||
private ASTNode getNodeToInsertBefore(ListRewrite rewriter) { if (fInsertPos != -1) { List members = rewriter.getOriginalList(); for (int i = 0; i < members.size(); i++) { ASTNode curr = (ASTNode) members.get(i); if (curr.getStartPosition() >= fInsertPos) { return curr; } } } return null; } |
| ||||
private ASTNode getNodeToInsertBefore(ListRewrite rewriter) { if (fInsertPos != -1) { List members = rewriter.getOriginalList(); for (int i = 0; i < members.size(); i++) { ASTNode curr = (ASTNode) members.get(i); if (curr.getStartPosition() >= fInsertPos) { return curr; } } } return null; } |
| |||
private ASTNode getNodeToInsertBefore(ListRewrite rewriter) { if (fInsertPos != -1) { List members = rewriter.getOriginalList(); for (int i = 0; i < members.size(); i++) { ASTNode curr = (ASTNode) members.get(i); if (curr.getStartPosition() >= fInsertPos) { return curr; } } } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |