CloneSet2434


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23340.951class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12370
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java
22355
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java
32040
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.java
Clone Instance
1
Line Count
23
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java

        /*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getLeft()
         */
        public final ConstraintVariable2 getLeft() {
                return fThenVariable;
        }

        /*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getRight()
         */
        public final ConstraintVariable2 getRight() {
                return fElseVariable;
        }

        /*
         * @see java.lang.Object#hashCode()
         */
        public final int hashCode() {
                return fThenVariable.hashCode()^  33 * fElseVariable.hashCode();
        }

        /*
         * @see java.lang.Object#toString()
         */
        public final String toString() {
                return fThenVariable.toString() + " <?= " + fElseVariable.toString(); //$NON-NLS-1$ 
        }


Clone Instance
2
Line Count
23
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java

        /*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getLeft()
         */
        public final ConstraintVariable2 getLeft() {
                return fDescendant;
        }

        /*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getRight()
         */
        public final ConstraintVariable2 getRight() {
                return fAncestor;
        }

        /*
         * @see java.lang.Object#hashCode()
         */
        public final int hashCode() {
                return fDescendant.hashCode()^  35 * fAncestor.hashCode();
        }

        /*
         * @see java.lang.Object#toString()
         */
        public final String toString() {
                return fDescendant.toString() + " <<= " + fAncestor.toString(); //$NON-NLS-1$ 
        }


Clone Instance
3
Line Count
20
Source Line
40
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.java

        public final ConstraintVariable2 getLeft() {
                return fDescendant;
        }

        public final ConstraintVariable2 getRight() {
                return fAncestor;
        }

        /*
         * @see java.lang.Object#hashCode()
         */
        public final int hashCode() {
                return fDescendant.hashCode()^  37 * fAncestor.hashCode();
        }

        /*
         * @see java.lang.Object#toString()
         */
        public final String toString() {
                return fDescendant.toString() + " <= " + fAncestor.toString(); //$NON-NLS-1$ 
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getLeft()
         */
public final ConstraintVariable2 getLeft() {
  return [[#variable9c66f2a0]];
}

/*
         * @see org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ITypeConstraint2#getRight()
         */
public final ConstraintVariable2 getRight() {
  return [[#variable9c66f200]];
}

/*
         * @see java.lang.Object#hashCode()
         */
public final int hashCode() {
  return [[#variable9c66f2a0]].hashCode()^ [[#variable9c66f180]] *  [[#variable9c66f200]].hashCode();
}

/*
         * @see java.lang.Object#toString()
         */
public final String toString() {
  return [[#variable9c66f2a0]].toString() +  [[#variable9c66f100]] +  [[#variable9c66f200]].toString(); //$NON-NLS-1$ 
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c66f2a0]]
fDescendant 
12[[#9c66f2a0]]
fThenVariable 
13[[#9c66f2a0]]
fDescendant 
21[[#9c66f200]]
fAncestor 
22[[#9c66f200]]
fElseVariable 
23[[#9c66f200]]
fAncestor 
31[[#9c66f180]]
35 
32[[#9c66f180]]
33 
33[[#9c66f180]]
37 
41[[#9c66f100]]
" <<= " 
42[[#9c66f100]]
" <?= " 
43[[#9c66f100]]
" <= "