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.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 192 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java |
2 | 5 | 224 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java |
| ||||
public boolean visit(ClassInstanceCreation node) { if (matches(node.resolveConstructorBinding())) { fResult.add(node.getType()); } return super.visit(node); } |
| ||||
public boolean visit(SuperMethodInvocation node) { if (matches(node.resolveMethodBinding())) { fResult.add(node.getName()); } return super.visit(node); } |
| |||
public boolean visit( [[#variable900c5600]] node) { if (matches(node. [[#variable900c5580]]())) { fResult.add(node. [[#variable900c5500]]()); } return super.visit(node); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#900c5600]] | ClassInstanceCreation |
1 | 2 | [[#900c5600]] | SuperMethodInvocation |
2 | 1 | [[#900c5580]] | resolveConstructorBinding |
2 | 2 | [[#900c5580]] | resolveMethodBinding |
3 | 1 | [[#900c5500]] | getType |
3 | 2 | [[#900c5500]] | getName |