CloneSet3489


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19149
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java
29160
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java
Clone Instance
1
Line Count
9
Source Line
149
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java

        private static ImageDescriptor getInnerClassImageDescriptor(int modifiers) {
                if (Modifier.isPublic(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_CLASS_PUBLIC;
                else if (Modifier.isPrivate(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_CLASS_PRIVATE;
                     else
                     if (Modifier.isProtected(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_CLASS_PROTECTED;
                     else
                        return JavaPluginImages.DESC_OBJS_INNER_CLASS_DEFAULT;
        }


Clone Instance
2
Line Count
9
Source Line
160
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java

        private static ImageDescriptor getInnerInterfaceImageDescriptor(int modifiers) {
                if (Modifier.isPublic(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PUBLIC;
                else if (Modifier.isPrivate(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PRIVATE;
                     else
                     if (Modifier.isProtected(modifiers))
                        return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PROTECTED;
                     else
                        return JavaPluginImages.DESC_OBJS_INTERFACE_DEFAULT;
        }


Clone AbstractionParameter Count: 5Parameter Bindings

private static ImageDescriptor  [[#variable50780060]](int modifiers) {
  if (Modifier.isPublic(modifiers))
    return JavaPluginImages. [[#variable56091fe0]];
  else
    if (Modifier.isPrivate(modifiers))
      return JavaPluginImages. [[#variable56091f60]];
    else
      if (Modifier.isProtected(modifiers))
        return JavaPluginImages. [[#variable56091f00]];
      else
        return JavaPluginImages. [[#variable56091e20]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50780060]]
getInnerClassImageDescriptor 
12[[#50780060]]
getInnerInterfaceImageDescriptor 
21[[#56091fe0]]
DESC_OBJS_INNER_CLASS_PUBLIC 
22[[#56091fe0]]
DESC_OBJS_INNER_INTERFACE_PUBLIC 
31[[#56091f60]]
DESC_OBJS_INNER_CLASS_PRIVATE 
32[[#56091f60]]
DESC_OBJS_INNER_INTERFACE_PRIVATE 
41[[#56091f00]]
DESC_OBJS_INNER_CLASS_PROTECTED 
42[[#56091f00]]
DESC_OBJS_INNER_INTERFACE_PROTECTED 
51[[#56091e20]]
DESC_OBJS_INNER_CLASS_DEFAULT 
52[[#56091e20]]
DESC_OBJS_INTERFACE_DEFAULT