Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.989 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 34 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/CopyPackageFragmentRootChange.java |
2 | 8 | 33 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/MovePackageFragmentRootChange.java |
| ||||
protected Change doPerformReorg(IPath destinationPath, IProgressMonitor pm) throws JavaModelException { getRoot().copy(destinationPath, getResourceUpdateFlags(), getUpdateModelFlags(true), null, pm); return null; } public String getName() { String[] keys = { getRoot().getElementName(), getDestinationProject().getName() }; return Messages.format(RefactoringCoreMessages.CopyPackageFragmentRootChange_copy, keys); } |
| ||||
protected Change doPerformReorg(IPath destinationPath, IProgressMonitor pm) throws JavaModelException { getRoot().move(destinationPath, getResourceUpdateFlags(), getUpdateModelFlags(false), null, pm); return null; } public String getName() { String[] keys = { getRoot().getElementName(), getDestinationProject().getName() }; return Messages.format(RefactoringCoreMessages.MovePackageFragmentRootChange_move, keys); } |
| |||
protected Change doPerformReorg(IPath destinationPath, IProgressMonitor pm) throws JavaModelException { getRoot(). [[#variablebb0c3e00]](destinationPath, getResourceUpdateFlags(), getUpdateModelFlags( [[#variablebb0c3e40]]), null, pm); return null; } public String getName() { String[] keys = { getRoot().getElementName(), getDestinationProject().getName() }; return Messages.format(RefactoringCoreMessages. [[#variablebb0c3d20]], keys); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb0c3e00]] | copy |
1 | 2 | [[#bb0c3e00]] | move |
2 | 1 | [[#bb0c3e40]] | true |
2 | 2 | [[#bb0c3e40]] | false |
3 | 1 | [[#bb0c3d20]] | CopyPackageFragmentRootChange_copy |
3 | 2 | [[#bb0c3d20]] | MovePackageFragmentRootChange_move |