CloneSet1454


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.983class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119120
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java
219128
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java
Clone Instance
1
Line Count
19
Source Line
120
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java

        public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
                return fCopyPolicy.setDestination(destination);
        }

        public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
                return fCopyPolicy.setDestination(destination);
        }

        public boolean canChildrenBeDestinations(IJavaElement javaElement) {
                return fCopyPolicy.canChildrenBeDestinations(javaElement);
        }

        public boolean canChildrenBeDestinations(IResource resource) {
                return fCopyPolicy.canChildrenBeDestinations(resource);
        }

        public boolean canElementBeDestination(IJavaElement javaElement) {
                return fCopyPolicy.canElementBeDestination(javaElement);
        }

        public boolean canElementBeDestination(IResource resource) {
                return fCopyPolicy.canElementBeDestination(resource);
        }


Clone Instance
2
Line Count
19
Source Line
128
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java

        public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
                return fMovePolicy.setDestination(destination);
        }

        public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
                return fMovePolicy.setDestination(destination);
        }

        public boolean canChildrenBeDestinations(IJavaElement javaElement) {
                return fMovePolicy.canChildrenBeDestinations(javaElement);
        }

        public boolean canChildrenBeDestinations(IResource resource) {
                return fMovePolicy.canChildrenBeDestinations(resource);
        }

        public boolean canElementBeDestination(IJavaElement javaElement) {
                return fMovePolicy.canElementBeDestination(javaElement);
        }

        public boolean canElementBeDestination(IResource resource) {
                return fMovePolicy.canElementBeDestination(resource);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
  return [[#variable5ae0c3a0]].setDestination(destination);
}

public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
  return [[#variable5ae0c3a0]].setDestination(destination);
}

public boolean canChildrenBeDestinations(IJavaElement javaElement) {
  return [[#variable5ae0c3a0]].canChildrenBeDestinations(javaElement);
}

public boolean canChildrenBeDestinations(IResource resource) {
  return [[#variable5ae0c3a0]].canChildrenBeDestinations(resource);
}

public boolean canElementBeDestination(IJavaElement javaElement) {
  return [[#variable5ae0c3a0]].canElementBeDestination(javaElement);
}

public boolean canElementBeDestination(IResource resource) {
  return [[#variable5ae0c3a0]].canElementBeDestination(resource);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ae0c3a0]]
fMovePolicy 
12[[#5ae0c3a0]]
fCopyPolicy