| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.995 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 498 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| 2 | 6 | 604 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| ||||
if (fAnonymousClass > 0) {
final ThisExpression target = ast.newThisExpression();
target.setQualifier(ast.newSimpleName(fTargetType.getElementName()));
fRewrite.replace(node, target, null);
}
else fRewrite.replace(node, ast.newThisExpression(), null);
|
| ||||
if (fAnonymousClass > 0) {
final ThisExpression target = ast.newThisExpression();
target.setQualifier(ast.newSimpleName(fTargetType.getElementName()));
fRewrite.replace(node, target, null);
}
else rewrite.replace(node, ast.newThisExpression(), null);
|
| |||
if (fAnonymousClass > 0) {
final ThisExpression target = ast.newThisExpression();
target.setQualifier(ast.newSimpleName(fTargetType.getElementName()));
fRewrite.replace(node, target, null);
}
else
[[#variable558ce700]].replace(node, ast.newThisExpression(), null);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#558ce700]] | fRewrite |
| 1 | 2 | [[#558ce700]] | rewrite |