Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 116 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java |
2 | 5 | 256 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java |
| ||||
/** * @see IJavaModel */ public void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException { if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) { runOperation(new CopyResourceElementsOperation(elements, containers, force), elements, siblings, renamings, monitor); } else { runOperation(new CopyElementsOperation(elements, containers, force), elements, siblings, renamings, monitor); } } |
| ||||
/** * @see IJavaModel */ public void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException { if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) { runOperation(new MoveResourceElementsOperation(elements, containers, force), elements, siblings, renamings, monitor); } else { runOperation(new MoveElementsOperation(elements, containers, force), elements, siblings, renamings, monitor); } } |
| |||
/** * @see IJavaModel */ public void [[#variable63e67be0]](IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException { if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) { runOperation(new [[#variable63e67b60]](elements, containers, force), elements, siblings, renamings, monitor); } else { runOperation(new [[#variable63e67ae0]](elements, containers, force), elements, siblings, renamings, monitor); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63e67be0]] | copy |
1 | 2 | [[#63e67be0]] | move |
2 | 1 | [[#63e67b60]] | CopyResourceElementsOperation |
2 | 2 | [[#63e67b60]] | MoveResourceElementsOperation |
3 | 1 | [[#63e67ae0]] | CopyElementsOperation |
3 | 2 | [[#63e67ae0]] | MoveElementsOperation |