Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.969 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 547 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
2 | 6 | 554 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| ||||
{ final FieldAccess access = (FieldAccess) expression; if (Bindings.equals(access.resolveFieldBinding(), fTarget)) { rewrite.remove(expression, null); visit(node.arguments()); return false; } } |
| ||||
{ final Name name = (Name) expression; if (Bindings.equals(name.resolveBinding(), fTarget)) { rewrite.remove(expression, null); visit(node.arguments()); return false; } } |
| |||
{ final [[#variablea382ac00]] [[#variablea382ab80]]= ( [[#variablea382ac00]]) expression; if (Bindings.equals( [[#variablea382ab80]]. [[#variablea382ab00]](), fTarget)) { rewrite.remove(expression, null); visit(node.arguments()); return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a382ac00]] | Name |
1 | 2 | [[#a382ac00]] | FieldAccess |
2 | 1 | [[#a382ab80]] | name |
2 | 2 | [[#a382ab80]] | access |
3 | 1 | [[#a382ab00]] | resolveBinding |
3 | 2 | [[#a382ab00]] | resolveFieldBinding |