CloneSet2888


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.995class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18334
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
28344
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
Clone Instance
1
Line Count
8
Source Line
334
Source File
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);
                        }


Clone Instance
2
Line Count
8
Source Line
344
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                        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);
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a51d7600]]
QualifiedName 
12[[#a51d7600]]
SimpleName