Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
28 | 2 | 4 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 28 | 25 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeSet.java |
2 | 28 | 209 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeSet.java |
| ||||
/** Implementation of an empty set */ private static class SuperTypeEmptySet extends SuperTypeSet { /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#chooseSingleType() */ public final TType chooseSingleType() { return null; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#isEmpty() */ public final boolean isEmpty() { return true; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#restrictedTo(org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet) */ public final ITypeSet restrictedTo( final ITypeSet set) { return this ; } /* * @see java.lang.Object#toString() */ public final String toString() { return "EMPTY"; //$NON-NLS-1$ } } |
| ||||
/** Implementation of the type universe */ private static class SuperTypeUniverse extends SuperTypeSet { /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#chooseSingleType() */ public final TType chooseSingleType() { return null; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#isEmpty() */ public final boolean isEmpty() { return false; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#restrictedTo(org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet) */ public final ITypeSet restrictedTo( final ITypeSet set) { return set; } /* * @see java.lang.Object#toString() */ public final String toString() { return "UNIVERSE"; //$NON-NLS-1$ } } |
| |||
/** Implementation of an empty set */ /** Implementation of the type universe */ private static class [[#variableb2a4a460]]extends SuperTypeSet { /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#chooseSingleType() */ public final TType chooseSingleType() { return null; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#isEmpty() */ public final boolean isEmpty() { return [[#variableb2a4a3e0]]; } /* * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet#restrictedTo(org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeSet) */ public final ITypeSet restrictedTo( final ITypeSet set) { return [[#variableb2b19620]]; } /* * @see java.lang.Object#toString() */ public final String toString() { return [[#variableb2a4a400]]; //$NON-NLS-1$ } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2a4a460]] | SuperTypeEmptySet |
1 | 2 | [[#b2a4a460]] | SuperTypeUniverse |
2 | 1 | [[#b2a4a3e0]] | true |
2 | 2 | [[#b2a4a3e0]] | false |
3 | 1 | [[#b2b19620]] | this |
3 | 2 | [[#b2b19620]] | set |
4 | 1 | [[#b2a4a400]] | "EMPTY" |
4 | 2 | [[#b2a4a400]] | "UNIVERSE" |