Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 1 | 0.993 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 24 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java |
2 | 9 | 17 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.java |
| ||||
/** The ancestor type */ private final ConstraintVariable2 fAncestor; /** The descendant type */ private final ConstraintVariable2 fDescendant; /** * Creates a new covariant type constraint. * * @param descendant the descendant type * @param ancestor the ancestor type */ public CovariantTypeConstraint( final ConstraintVariable2 descendant, final ConstraintVariable2 ancestor) { Assert.isNotNull(descendant); Assert.isNotNull(ancestor); fDescendant = descendant; fAncestor = ancestor; } |
| ||||
private final ConstraintVariable2 fAncestor; private final ConstraintVariable2 fDescendant; public SubTypeConstraint2( final ConstraintVariable2 descendant, final ConstraintVariable2 ancestor) { Assert.isNotNull(descendant); Assert.isNotNull(ancestor); fDescendant = descendant; fAncestor = ancestor; } |
| |||
/** The ancestor type */ private final ConstraintVariable2 fAncestor; /** The descendant type */ private final ConstraintVariable2 fDescendant; /** * Creates a new covariant type constraint. * * @param descendant the descendant type * @param ancestor the ancestor type */ public [[#variableb1937760]]( final ConstraintVariable2 descendant, final ConstraintVariable2 ancestor) { Assert.isNotNull(descendant); Assert.isNotNull(ancestor); fDescendant = descendant; fAncestor = ancestor; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1937760]] | CovariantTypeConstraint |
1 | 2 | [[#b1937760]] | SubTypeConstraint2 |