CloneSet2615


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.991class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1831
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/CopyPackageChange.java
2830
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/MovePackageChange.java
Clone Instance
1
Line Count
8
Source Line
31
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/CopyPackageChange.java

        protected Change doPerformReorg(IProgressMonitor pm) throws JavaModelException {
                getPackage().copy(getDestination(), null, getNewName(), true, pm);
                return null;
        }

        public String getName() {
                return Messages.format(RefactoringCoreMessages.CopyPackageChange_copy, 
                        new String[] {
                                       getPackage().getElementName(), getDestination().getElementName()
                                     } );
        }


Clone Instance
2
Line Count
8
Source Line
30
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/MovePackageChange.java

        protected Change doPerformReorg(IProgressMonitor pm) throws JavaModelException {
                getPackage().move(getDestination(), null, getNewName(), true, pm);
                return null;
        }

        public String getName() {
                return Messages.format(RefactoringCoreMessages.MovePackageChange_move, 
                        new String[] {
                                      getPackage().getElementName(), getDestination().getElementName()
                                     } );
        }


Clone AbstractionParameter Count: 2Parameter Bindings

protected Change doPerformReorg(IProgressMonitor pm) throws JavaModelException {
  getPackage(). [[#variable55f27380]](getDestination(), null, getNewName(), true, pm);
  return null;
}

public String getName() {
  return Messages.format(RefactoringCoreMessages. [[#variable55f272e0]], new String[] {
                                                                                        getPackage().getElementName(),
                                                                                        getDestination().getElementName()
                                                                                      } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55f27380]]
copy 
12[[#55f27380]]
move 
21[[#55f272e0]]
CopyPackageChange_copy 
22[[#55f272e0]]
MovePackageChange_move