CloneSet4629


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1551
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java
2545
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/CovariantTypeConstraint.java
Clone Instance
1
Line Count
5
Source Line
51
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java

        /*
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public final boolean equals( final Object object) {
                if (object.getClass() != ConditionalTypeConstraint.class )
                        return false;
                final ITypeConstraint2 other = (ITypeConstraint2) object;
                return getLeft() == other.getLeft() && getRight() == other.getRight();
        }


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

        /*
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public final boolean equals( final Object object) {
                if (object.getClass() != CovariantTypeConstraint.class )
                        return false;
                final ITypeConstraint2 other = (ITypeConstraint2) object;
                return getLeft() == other.getLeft() && getRight() == other.getRight();
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see java.lang.Object#equals(java.lang.Object)
         */
public final boolean equals( final Object object) {
  if (object.getClass() != [[#variable78b7b960]].class )
    return false;
  final ITypeConstraint2 other = (ITypeConstraint2) object;
  return getLeft() == other.getLeft() && getRight() == other.getRight();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#78b7b960]]
CovariantTypeConstraint 
12[[#78b7b960]]
ConditionalTypeConstraint