Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.997 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 49 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java |
2 | 11 | 62 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java |
| ||||
public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, IJavaElement destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements); if ( !policy.canEnable()) return null; JavaMoveProcessor processor = new JavaMoveProcessor(policy); if ( ! processor.setDestination(destination).isOK()) return null; return new ReorgMoveStarter(processor); } |
| ||||
public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, IResource destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements); if ( !policy.canEnable()) return null; JavaMoveProcessor processor = new JavaMoveProcessor(policy); if ( ! processor.setDestination(destination).isOK()) return null; return new ReorgMoveStarter(processor); } |
| |||
public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, [[#variableb2648fc0]] destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements); if ( !policy.canEnable()) return null; JavaMoveProcessor processor = new JavaMoveProcessor(policy); if ( !processor.setDestination(destination).isOK()) return null; return new ReorgMoveStarter(processor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2648fc0]] | IJavaElement |
1 | 2 | [[#b2648fc0]] | IResource |