Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.966 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 358 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
2 | 3 | 363 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
| ||||
public static IFolder[] getFolders(IResource[] resources) { Set result = getResourcesOfType(resources, IResource.FOLDER); return (IFolder[]) result.toArray(new IFolder[result.size()]); } |
| ||||
public static IFile[] getFiles(IResource[] resources) { Set result = getResourcesOfType(resources, IResource.FILE); return (IFile[]) result.toArray(new IFile[result.size()]); } |
| |||
public static [[#variable64b698a0]][] [[#variable64b69820]](IResource[] resources) { Set result = getResourcesOfType(resources, IResource. [[#variable64b697a0]]); return ( [[#variable64b698a0]][]) result.toArray(new [[#variable64b698a0]][result.size()]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64b698a0]] | IFolder |
1 | 2 | [[#64b698a0]] | IFile |
2 | 1 | [[#64b69820]] | getFolders |
2 | 2 | [[#64b69820]] | getFiles |
3 | 1 | [[#64b697a0]] | FOLDER |
3 | 2 | [[#64b697a0]] | FILE |