Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.995 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 334 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
2 | 8 | 344 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
| ||||
public boolean visit(QualifiedName node) { final IBinding binding = node.resolveBinding(); if (binding != null && binding instanceof IVariableBinding) { IVariableBinding variable = (IVariableBinding) binding; if ( !variable.isEnumConstant() && variable.isField()) accessedFields.add(binding); } return super.visit(node); } |
| ||||
public boolean visit(SimpleName node) { final IBinding binding = node.resolveBinding(); if (binding != null && binding instanceof IVariableBinding) { IVariableBinding variable = (IVariableBinding) binding; if ( !variable.isEnumConstant() && variable.isField()) accessedFields.add(binding); } return super.visit(node); } |
| |||
public boolean visit( [[#variablea51d7600]] node) { final IBinding binding = node.resolveBinding(); if (binding != null && binding instanceof IVariableBinding) { IVariableBinding variable = (IVariableBinding) binding; if ( !variable.isEnumConstant() && variable.isField()) accessedFields.add(binding); } return super.visit(node); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a51d7600]] | QualifiedName |
1 | 2 | [[#a51d7600]] | SimpleName |