CloneSet5125


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.957statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14319
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
24323
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
Clone Instance
1
Line Count
4
Source Line
319
Source File
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();


Clone Instance
2
Line Count
4
Source Line
323
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java

                        if (object2 instanceof IBinding[])
                                second = fProvider.getText(((IBinding[]) object2)[1]);
                        else if (object2 instanceof IVariableBinding)
                                second = ((IBinding) object2).getName();


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable56ff6940]]instanceof IBinding[])
   [[#variable56ff68e0]]= fProvider.getText(((IBinding[])  [[#variable56ff6940]])[1]);
else
  if ( [[#variable56ff6940]]instanceof IVariableBinding)
     [[#variable56ff68e0]]= ((IBinding)  [[#variable56ff6940]]).getName();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56ff6940]]
object1 
12[[#56ff6940]]
object2 
21[[#56ff68e0]]
first 
22[[#56ff68e0]]
second