| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 3 | 0.965 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 64 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/CompilationUnitRange.java |
| 2 | 7 | 24 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeTuple.java |
| ||||
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof CompilationUnitRange))
return false;
CompilationUnitRange other = (CompilationUnitRange) obj;
return fCompilationUnit.equals(other.fCompilationUnit) && fSourceRange.equals(other.fSourceRange);
}
|
| ||||
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof TypeTuple))
return false;
TypeTuple other = (TypeTuple) obj;
return fFirst.equals(other.fFirst) && fSecond.equals(other.fSecond);
}
|
| |||
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof [[#variable5f4ba1c0]]))
return false;
[[#variable5f4ba1c0]] other = ( [[#variable5f4ba1c0]]) obj;
return [[#variable5f4bb520]].equals(other. [[#variable5f4bb520]]) && [[#variable5f4ba1a0]].equals(other. [[#variable5f4ba1a0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5f4ba1c0]] | TypeTuple |
| 1 | 2 | [[#5f4ba1c0]] | CompilationUnitRange |
| 2 | 1 | [[#5f4bb520]] | fFirst |
| 2 | 2 | [[#5f4bb520]] | fCompilationUnit |
| 3 | 1 | [[#5f4ba1a0]] | fSecond |
| 3 | 2 | [[#5f4ba1a0]] | fSourceRange |