Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 286 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java |
2 | 7 | 295 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java |
| ||||
public Image getImage(Object element) { if (element instanceof IBinding[]) { return super.getImage((((IBinding[]) element)[1])); } else if (element instanceof IVariableBinding) { return super.getImage(element); } return null; } |
| ||||
public String getText(Object element) { if (element instanceof IBinding[]) { return super.getText((((IBinding[]) element)[1])); } else if (element instanceof IVariableBinding) { return super.getText(element); } return null; } |
| |||
public [[#variablea636d9e0]] [[#variablea636d960]](Object element) { if (element instanceof IBinding[]) { return super. [[#variablea636d960]]((((IBinding[]) element)[1])); } else if (element instanceof IVariableBinding) { return super. [[#variablea636d960]](element); } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a636d9e0]] | Image |
1 | 2 | [[#a636d9e0]] | String |
2 | 1 | [[#a636d960]] | getImage |
2 | 2 | [[#a636d960]] | getText |