Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 1 | 0.990 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 3244 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java |
2 | 8 | 2600 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java |
3 | 8 | 2635 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java |
| ||||
if (region == null) { throw new IllegalArgumentException(Messages.hierarchy_nullRegion); } ICompilationUnit[] workingCopies = JavaModelManager.getJavaModelManager().getWorkingCopies(owner, true /*add primary working copies*/ ); CreateTypeHierarchyOperation op = new CreateTypeHierarchyOperation(region, workingCopies, null, true /*compute subtypes*/ ); op.runOperation(monitor); return op.getResult(); |
| ||||
if (region == null) { throw new IllegalArgumentException(Messages.hierarchy_nullRegion); } ICompilationUnit[] workingCopies = JavaModelManager.getJavaModelManager().getWorkingCopies(owner, true /*add primary working copies*/ ); CreateTypeHierarchyOperation op = new CreateTypeHierarchyOperation(region, workingCopies, null, true); op.runOperation(monitor); return op.getResult(); |
| ||||
if (region == null) { throw new IllegalArgumentException(Messages.hierarchy_nullRegion); } ICompilationUnit[] workingCopies = JavaModelManager.getJavaModelManager().getWorkingCopies(owner, true /*add primary working copies*/ ); CreateTypeHierarchyOperation op = new CreateTypeHierarchyOperation(region, workingCopies, type, true /*compute subtypes*/ ); op.runOperation(monitor); return op.getResult(); |
| |||
if (region == null) { throw new IllegalArgumentException(Messages.hierarchy_nullRegion); } ICompilationUnit[] workingCopies = JavaModelManager.getJavaModelManager().getWorkingCopies(owner, true /*add primary working copies*/ ); CreateTypeHierarchyOperation op = new CreateTypeHierarchyOperation(region, workingCopies, [[#variablebc9c3700]], true /*compute subtypes*/ ); op.runOperation(monitor); return op.getResult(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc9c3700]] | null |
1 | 2 | [[#bc9c3700]] | type |
1 | 3 | [[#bc9c3700]] | null |