CloneSet3487


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


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

                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;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a636d9e0]]
Image 
12[[#a636d9e0]]
String 
21[[#a636d960]]
getImage 
22[[#a636d960]]
getText