| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 1 | 0.993 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 51 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/ConditionalTypeConstraint.java |
| 2 | 5 | 45 | 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() != ConditionalTypeConstraint.class )
return false;
final ITypeConstraint2 other = (ITypeConstraint2) object;
return getLeft() == other.getLeft() && getRight() == other.getRight();
}
|
| ||||
/*
* @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();
}
|
| |||
/*
* @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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#78b7b960]] | CovariantTypeConstraint |
| 1 | 2 | [[#78b7b960]] | ConditionalTypeConstraint |