CloneSet1747


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5430.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15460
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
25478
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
35496
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
45514
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
Clone Instance
1
Line Count
5
Source Line
460
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java

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


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

        private static ImageDescriptor getEnumImageDescriptor(int flags) {
                if (Flags.isPublic(flags) || Flags.isProtected(flags) || Flags.isPrivate(flags))
                        return JavaPluginImages.DESC_OBJS_ENUM;
                else
                        return JavaPluginImages.DESC_OBJS_ENUM_DEFAULT;
        }


Clone Instance
3
Line Count
5
Source Line
496
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java

        private static ImageDescriptor getAnnotationImageDescriptor(int flags) {
                if (Flags.isPublic(flags) || Flags.isProtected(flags) || Flags.isPrivate(flags))
                        return JavaPluginImages.DESC_OBJS_ANNOTATION;
                else
                        return JavaPluginImages.DESC_OBJS_ANNOTATION_DEFAULT;
        }


Clone Instance
4
Line Count
5
Source Line
514
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java

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


Clone AbstractionParameter Count: 3Parameter Bindings

private static ImageDescriptor  [[#variable57ca3f40]](int flags) {
  if (Flags.isPublic(flags) || Flags.isProtected(flags) || Flags.isPrivate(flags))
    return JavaPluginImages. [[#variable57ca3ee0]];
  else
    return JavaPluginImages. [[#variable57ca3de0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57ca3f40]]
getClassImageDescriptor 
12[[#57ca3f40]]
getEnumImageDescriptor 
13[[#57ca3f40]]
getAnnotationImageDescriptor 
14[[#57ca3f40]]
getInterfaceImageDescriptor 
21[[#57ca3ee0]]
DESC_OBJS_CLASS 
22[[#57ca3ee0]]
DESC_OBJS_ENUM 
23[[#57ca3ee0]]
DESC_OBJS_ANNOTATION 
24[[#57ca3ee0]]
DESC_OBJS_INTERFACE 
31[[#57ca3de0]]
DESC_OBJS_CLASS_DEFAULT 
32[[#57ca3de0]]
DESC_OBJS_ENUM_DEFAULT 
33[[#57ca3de0]]
DESC_OBJS_ANNOTATION_DEFAULT 
34[[#57ca3de0]]
DESC_OBJS_INTERFACE_DEFAULT