CloneSet4549


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

        private static ImageDescriptor getClassImageDescriptor(int modifiers) {
                if (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers) || Modifier.isPrivate(modifiers))
                        return JavaPluginImages.DESC_OBJS_CLASS;
                else
                        return JavaPluginImages.DESC_OBJS_CLASS_DEFAULT;
        }


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

        private static ImageDescriptor getInterfaceImageDescriptor(int modifiers) {
                if (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers) || Modifier.isPrivate(modifiers))
                        return JavaPluginImages.DESC_OBJS_INTERFACE;
                else
                        return JavaPluginImages.DESC_OBJS_INTERFACE_DEFAULT;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private static ImageDescriptor  [[#variableba542be0]](int modifiers) {
  if (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers) || Modifier.isPrivate(modifiers))
    return JavaPluginImages. [[#variableba542b80]];
  else
    return JavaPluginImages. [[#variableba542b00]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba542be0]]
getClassImageDescriptor 
12[[#ba542be0]]
getInterfaceImageDescriptor 
21[[#ba542b80]]
DESC_OBJS_CLASS 
22[[#ba542b80]]
DESC_OBJS_INTERFACE 
31[[#ba542b00]]
DESC_OBJS_CLASS_DEFAULT 
32[[#ba542b00]]
DESC_OBJS_INTERFACE_DEFAULT