Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 319 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java |
2 | 4 | 323 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java |
| ||||
if (object1 instanceof IBinding[]) first = fProvider.getText(((IBinding[]) object1)[1]); else if (object1 instanceof IVariableBinding) first = ((IBinding) object1).getName(); |
| ||||
if (object2 instanceof IBinding[]) second = fProvider.getText(((IBinding[]) object2)[1]); else if (object2 instanceof IVariableBinding) second = ((IBinding) object2).getName(); |
| |||
if ( [[#variable56ff6940]]instanceof IBinding[]) [[#variable56ff68e0]]= fProvider.getText(((IBinding[]) [[#variable56ff6940]])[1]); else if ( [[#variable56ff6940]]instanceof IVariableBinding) [[#variable56ff68e0]]= ((IBinding) [[#variable56ff6940]]).getName(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56ff6940]] | object1 |
1 | 2 | [[#56ff6940]] | object2 |
2 | 1 | [[#56ff68e0]] | first |
2 | 2 | [[#56ff68e0]] | second |