Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 327 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
2 | 5 | 354 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
| ||||
public boolean visit(FieldAccess node) { final IVariableBinding binding = node.resolveFieldBinding(); if (binding != null && !binding.isEnumConstant()) accessedFields.add(binding); return super.visit(node); } |
| ||||
public boolean visit(SuperFieldAccess node) { final IVariableBinding binding = node.resolveFieldBinding(); if (binding != null && !binding.isEnumConstant()) accessedFields.add(binding); return super.visit(node); } |
| |||
public boolean visit( [[#variablea123ad60]] node) { final IVariableBinding binding = node.resolveFieldBinding(); if (binding != null && !binding.isEnumConstant()) accessedFields.add(binding); return super.visit(node); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a123ad60]] | FieldAccess |
1 | 2 | [[#a123ad60]] | SuperFieldAccess |