CloneSet5309


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16210.993class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11624
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java
2917
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.java
Clone Instance
1
Line Count
16
Source Line
24
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.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;
        }


Clone Instance
2
Line Count
9
Source Line
17
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/SubTypeConstraint2.java

        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;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/** 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1937760]]
CovariantTypeConstraint 
12[[#b1937760]]
SubTypeConstraint2