| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.978 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 1195 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java |
| 2 | 5 | 1259 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java |
| ||||
{
if (element instanceof IMember)
element = ((IMember) element).getClassFile();
if (attributes != null && element != null)
attributes.put(ATT_HANDLE_ID, element.getHandleIdentifier());
}
|
| ||||
{
if (element instanceof IMember)
element = ((IMember) element).getClassFile();
if (marker != null && element != null)
marker.setAttribute(ATT_HANDLE_ID, element.getHandleIdentifier());
}
|
| |||
{
if (element instanceof IMember)
element = ((IMember) element).getClassFile();
if ( [[#variableb0b66160]]!= null && element != null)
[[#variableb0b66160]]. [[#variableb0b66020]](ATT_HANDLE_ID, element.getHandleIdentifier());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b0b66160]] | attributes |
| 1 | 2 | [[#b0b66160]] | marker |
| 2 | 1 | [[#b0b66020]] | put |
| 2 | 2 | [[#b0b66020]] | setAttribute |