Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 2 | 0.969 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 28 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ArrayTypeConverter.java |
2 | 3 | 33 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ArrayTypeConverter.java |
3 | 3 | 38 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ArrayTypeConverter.java |
4 | 3 | 43 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ArrayTypeConverter.java |
5 | 3 | 48 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ArrayTypeConverter.java |
| ||||
static IFile[] toFileArray(Object[] objects) { List l = Arrays.asList(objects); return (IFile[]) l.toArray(new IFile[l.size()]); } |
| ||||
static IFolder[] toFolderArray(Object[] objects) { List l = Arrays.asList(objects); return (IFolder[]) l.toArray(new IFolder[l.size()]); } |
| ||||
static ICompilationUnit[] toCuArray(Object[] objects) { List l = Arrays.asList(objects); return (ICompilationUnit[]) l.toArray(new ICompilationUnit[l.size()]); } |
| ||||
static IPackageFragmentRoot[] toPackageFragmentRootArray(Object[] objects) { List l = Arrays.asList(objects); return (IPackageFragmentRoot[]) l.toArray(new IPackageFragmentRoot[l.size()]); } |
| ||||
static IPackageFragment[] toPackageArray(Object[] objects) { List l = Arrays.asList(objects); return (IPackageFragment[]) l.toArray(new IPackageFragment[l.size()]); } |
| |||
static [[#variableb52918a0]][] [[#variableb5291840]](Object[] objects) { List l = Arrays.asList(objects); return ( [[#variableb52918a0]][]) l.toArray(new [[#variableb52918a0]][l.size()]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b52918a0]] | IFile |
1 | 2 | [[#b52918a0]] | IFolder |
1 | 3 | [[#b52918a0]] | ICompilationUnit |
1 | 4 | [[#b52918a0]] | IPackageFragmentRoot |
1 | 5 | [[#b52918a0]] | IPackageFragment |
2 | 1 | [[#b5291840]] | toFileArray |
2 | 2 | [[#b5291840]] | toFolderArray |
2 | 3 | [[#b5291840]] | toCuArray |
2 | 4 | [[#b5291840]] | toPackageFragmentRootArray |
2 | 5 | [[#b5291840]] | toPackageArray |