CloneSet5255


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28240.959class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12825
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeSet.java
228209
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeSet.java
Clone Instance
1
Line Count
28
Source Line
25
Source File
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$
                }
        }


Clone Instance
2
Line Count
28
Source Line
209
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeSet.java

        /** 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$
                }
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/** 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2a4a460]]
SuperTypeEmptySet 
12[[#b2a4a460]]
SuperTypeUniverse 
21[[#b2a4a3e0]]
true 
22[[#b2a4a3e0]]
false 
31[[#b2b19620]]
this 
32[[#b2b19620]]
set 
41[[#b2a4a400]]
"EMPTY" 
42[[#b2a4a400]]
"UNIVERSE"