Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.996 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 43 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java |
2 | 10 | 55 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java |
| ||||
public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, IJavaElement destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements); if (copyProcessor == null) return null; if ( ! copyProcessor.setDestination(destination).isOK()) return null; return new ReorgCopyStarter(copyProcessor); } |
| ||||
public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, IResource destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements); if (copyProcessor == null) return null; if ( ! copyProcessor.setDestination(destination).isOK()) return null; return new ReorgCopyStarter(copyProcessor); } |
| |||
public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, [[#variablea1ba3040]] destination) throws JavaModelException { Assert.isNotNull(javaElements); Assert.isNotNull(resources); Assert.isNotNull(destination); JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements); if (copyProcessor == null) return null; if ( !copyProcessor.setDestination(destination).isOK()) return null; return new ReorgCopyStarter(copyProcessor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1ba3040]] | IJavaElement |
1 | 2 | [[#a1ba3040]] | IResource |