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.995 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 345 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java |
2 | 12 | 1004 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java |
| ||||
/** * @see ISourceManipulation#copy(IJavaElement, IJavaElement, String, boolean, IProgressMonitor) */ public void copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, IProgressMonitor monitor) throws JavaModelException { if (container == null) { throw new IllegalArgumentException(Messages.operation_nullContainer); } IJavaElement[] elements = new IJavaElement[] { this }; IJavaElement[] containers = new IJavaElement[] { container }; String[] renamings = null; if (rename != null) { renamings = new String[] { rename }; } getJavaModel().copy(elements, containers, null, renamings, force, monitor); } |
| ||||
/** * @see ISourceManipulation#move(IJavaElement, IJavaElement, String, boolean, IProgressMonitor) */ public void move(IJavaElement container, IJavaElement sibling, String rename, boolean force, IProgressMonitor monitor) throws JavaModelException { if (container == null) { throw new IllegalArgumentException(Messages.operation_nullContainer); } IJavaElement[] elements = new IJavaElement[] { this }; IJavaElement[] containers = new IJavaElement[] { container }; String[] renamings = null; if (rename != null) { renamings = new String[] { rename }; } getJavaModel().move(elements, containers, null, renamings, force, monitor); } |
| |||
/** * @see ISourceManipulation#copy(IJavaElement, IJavaElement, String, boolean, IProgressMonitor) */ /** * @see ISourceManipulation#move(IJavaElement, IJavaElement, String, boolean, IProgressMonitor) */ public void [[#variable58776260]](IJavaElement container, IJavaElement sibling, String rename, boolean force, IProgressMonitor monitor) throws JavaModelException { if (container == null) { throw new IllegalArgumentException(Messages.operation_nullContainer); } IJavaElement[] elements = new IJavaElement[] { this }; IJavaElement[] containers = new IJavaElement[] { container }; String[] renamings = null; if (rename != null) { renamings = new String[] { rename }; } getJavaModel(). [[#variable58776260]](elements, containers, null, renamings, force, monitor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58776260]] | copy |
1 | 2 | [[#58776260]] | move |