CloneSet2604


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18174
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
28184
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
Clone Instance
1
Line Count
8
Source Line
174
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

                public boolean visit(FieldAccess node) {
                        final ITypeBinding declaring = MoveInnerToTopRefactoring.getDeclaringTypeBinding(node);
                        if (declaring != null) {
                                final IType type = (IType) declaring.getJavaElement();
                                if (type != null && fHierarchy.contains(type))
                                        fFieldAccesses.add(node);
                        }
                        return super.visit(node);
                }


Clone Instance
2
Line Count
8
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

                public boolean visit(MethodInvocation node) {
                        final ITypeBinding declaring = MoveInnerToTopRefactoring.getDeclaringTypeBinding(node);
                        if (declaring != null) {
                                final IType type = (IType) declaring.getJavaElement();
                                if (type != null && fHierarchy.contains(type))
                                        fMethodAccesses.add(node);
                        }
                        return super.visit(node);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

public boolean visit( [[#variable5cd66aa0]] node) {
  final ITypeBinding declaring = MoveInnerToTopRefactoring.getDeclaringTypeBinding(node);
  if (declaring != null) {
    final IType type = (IType) declaring.getJavaElement();
    if (type != null && fHierarchy.contains(type))
       [[#variable5cd66a40]].add(node);
  }
  return super.visit(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5cd66aa0]]
FieldAccess 
12[[#5cd66aa0]]
MethodInvocation 
21[[#5cd66a40]]
fFieldAccesses 
22[[#5cd66a40]]
fMethodAccesses