Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.971 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 196 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java |
2 | 5 | 203 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java |
3 | 5 | 210 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java |
| ||||
public boolean visit(MethodInvocation node) { if (isExitPoint(node.resolveMethodBinding())) { fResult.add(node.getName()); } return true; } |
| ||||
public boolean visit(SuperMethodInvocation node) { if (isExitPoint(node.resolveMethodBinding())) { fResult.add(node.getName()); } return true; } |
| ||||
public boolean visit(ClassInstanceCreation node) { if (isExitPoint(node.resolveConstructorBinding())) { fResult.add(node.getType()); } return true; } |
| |||
public boolean visit( [[#variable546ae0a0]] node) { if (isExitPoint(node. [[#variable546ae000]]())) { fResult.add(node. [[#variablebae6dee0]]()); } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#546ae0a0]] | MethodInvocation |
1 | 2 | [[#546ae0a0]] | SuperMethodInvocation |
1 | 3 | [[#546ae0a0]] | ClassInstanceCreation |
2 | 1 | [[#546ae000]] | resolveMethodBinding |
2 | 2 | [[#546ae000]] | resolveMethodBinding |
2 | 3 | [[#546ae000]] | resolveConstructorBinding |
3 | 1 | [[#bae6dee0]] | getName |
3 | 2 | [[#bae6dee0]] | getName |
3 | 3 | [[#bae6dee0]] | getType |