| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 3 | 0.962 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 255 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java |
| 2 | 10 | 242 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesOfSingleton.java |
| ||||
public boolean equals(Object o) {
if ( !(o instanceof SubTypesOfSingleton))
return false;
SubTypesOfSingleton other = (SubTypesOfSingleton) o;
return other.fUpperBound.equals(fUpperBound);
}
public String toString() {
return "<" + fID + ": subTypes(" + fUpperBound.getPrettySignature() + ")>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
|
| ||||
public boolean equals(Object o) {
if ( !(o instanceof SuperTypesOfSingleton))
return false;
SuperTypesOfSingleton other = (SuperTypesOfSingleton) o;
return other.fLowerBound.equals(fLowerBound);
}
public String toString() {
return "<" + fID + ": superTypes(" + fLowerBound.getPrettySignature() + ")>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
|
| |||
public boolean equals(Object o) {
if ( !(o instanceof [[#variable5463b4e0]]))
return false;
[[#variable5463b4e0]] other = ( [[#variable5463b4e0]]) o;
return other. [[#variable5463b4a0]].equals( [[#variable5463b4a0]]);
}
public String toString() {
return "<" + fID + [[#variable50410140]] + [[#variable5463b4a0]].getPrettySignature() + ")>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5463b4e0]] | SubTypesOfSingleton |
| 1 | 2 | [[#5463b4e0]] | SuperTypesOfSingleton |
| 2 | 1 | [[#5463b4a0]] | fUpperBound |
| 2 | 2 | [[#5463b4a0]] | fLowerBound |
| 3 | 1 | [[#50410140]] | ": subTypes(" |
| 3 | 2 | [[#50410140]] | ": superTypes(" |