CloneSet4751


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


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

                        public boolean visit(SuperFieldAccess node) {
                                final IVariableBinding binding = node.resolveFieldBinding();
                                if (binding != null && !binding.isEnumConstant())
                                        accessedFields.add(binding);
                                return super.visit(node);
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean visit( [[#variablea123ad60]] node) {
  final IVariableBinding binding = node.resolveFieldBinding();
  if (binding != null && !binding.isEnumConstant())
    accessedFields.add(binding);
  return super.visit(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a123ad60]]
FieldAccess 
12[[#a123ad60]]
SuperFieldAccess