Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.995 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 49 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConstantChecks.java |
2 | 15 | 126 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConstantChecks.java |
| ||||
public LoadTimeConstantChecker(IExpressionFragment ex) { super(ex); } public boolean visit(SuperFieldAccess node) { fResult = false; return false; } public boolean visit(SuperMethodInvocation node) { fResult = false; return false; } public boolean visit(ThisExpression node) { fResult = false; return false; } |
| ||||
public StaticFinalConstantChecker(IExpressionFragment ex) { super(ex); } public boolean visit(SuperFieldAccess node) { fResult = false; return false; } public boolean visit(SuperMethodInvocation node) { fResult = false; return false; } public boolean visit(ThisExpression node) { fResult = false; return false; } |
| |||
public [[#variable564635e0]](IExpressionFragment ex) { super(ex); } public boolean visit(SuperFieldAccess node) { fResult = false; return false; } public boolean visit(SuperMethodInvocation node) { fResult = false; return false; } public boolean visit(ThisExpression node) { fResult = false; return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#564635e0]] | StaticFinalConstantChecker |
1 | 2 | [[#564635e0]] | LoadTimeConstantChecker |