Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 3 | 4 | 0.951 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 70 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java |
2 | 23 | 55 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java |
3 | 20 | 40 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.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$ } |
| ||||
/* * @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$ } |
| ||||
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$ } |
| |||
/* * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c66f2a0]] | fDescendant |
1 | 2 | [[#9c66f2a0]] | fThenVariable |
1 | 3 | [[#9c66f2a0]] | fDescendant |
2 | 1 | [[#9c66f200]] | fAncestor |
2 | 2 | [[#9c66f200]] | fElseVariable |
2 | 3 | [[#9c66f200]] | fAncestor |
3 | 1 | [[#9c66f180]] | 35 |
3 | 2 | [[#9c66f180]] | 33 |
3 | 3 | [[#9c66f180]] | 37 |
4 | 1 | [[#9c66f100]] | " <<= " |
4 | 2 | [[#9c66f100]] | " <?= " |
4 | 3 | [[#9c66f100]] | " <= " |