Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.952 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 383 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java |
2 | 6 | 68 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java |
| ||||
/* * @see Object#equals(java.lang.Object) */ public boolean equals(Object other) { if (other != null && other.getClass().equals(getClass())) { CPListElement elem = (CPListElement) other; return getClasspathEntry().equals(elem.getClasspathEntry()); } return false; } |
| ||||
/* * @see Object#equals() */ public boolean equals(Object other) { if (other != null && other.getClass().equals(getClass())) { CPVariableElement elem = (CPVariableElement) other; return fName.equals(elem.fName); } return false; } |
| |||
/* * @see Object#equals() */ /* * @see Object#equals(java.lang.Object) */ public boolean equals(Object other) { if (other != null && other.getClass().equals(getClass())) { [[#variable56245880]] elem = ( [[#variable56245880]]) other; return [[#variable562457e0]].equals(elem [[#variable562455e0]]); } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56245880]] | CPVariableElement |
1 | 2 | [[#56245880]] | CPListElement |
2 | 1 | [[#562457e0]] | fName |
2 | 2 | [[#562457e0]] | getClasspathEntry() |
3 | 1 | [[#562455e0]] | .fName |
3 | 2 | [[#562455e0]] | .getClasspathEntry() |