Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 4 | 5 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 467 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java |
2 | 9 | 485 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java |
3 | 9 | 503 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java |
4 | 9 | 521 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java |
| ||||
private static ImageDescriptor getInnerClassImageDescriptor(boolean isInInterfaceOrAnnotation, int flags) { if (Flags.isPublic(flags) || isInInterfaceOrAnnotation) return JavaPluginImages.DESC_OBJS_INNER_CLASS_PUBLIC; else if (Flags.isPrivate(flags)) return JavaPluginImages.DESC_OBJS_INNER_CLASS_PRIVATE; else if (Flags.isProtected(flags)) return JavaPluginImages.DESC_OBJS_INNER_CLASS_PROTECTED; else return JavaPluginImages.DESC_OBJS_INNER_CLASS_DEFAULT; } |
| ||||
private static ImageDescriptor getInnerEnumImageDescriptor(boolean isInInterfaceOrAnnotation, int flags) { if (Flags.isPublic(flags) || isInInterfaceOrAnnotation) return JavaPluginImages.DESC_OBJS_ENUM; else if (Flags.isPrivate(flags)) return JavaPluginImages.DESC_OBJS_ENUM_PRIVATE; else if (Flags.isProtected(flags)) return JavaPluginImages.DESC_OBJS_ENUM_PROTECTED; else return JavaPluginImages.DESC_OBJS_ENUM_DEFAULT; } |
| ||||
private static ImageDescriptor getInnerAnnotationImageDescriptor(boolean isInInterfaceOrAnnotation, int flags) { if (Flags.isPublic(flags) || isInInterfaceOrAnnotation) return JavaPluginImages.DESC_OBJS_ANNOTATION; else if (Flags.isPrivate(flags)) return JavaPluginImages.DESC_OBJS_ANNOTATION_PRIVATE; else if (Flags.isProtected(flags)) return JavaPluginImages.DESC_OBJS_ANNOTATION_PROTECTED; else return JavaPluginImages.DESC_OBJS_ANNOTATION_DEFAULT; } |
| ||||
private static ImageDescriptor getInnerInterfaceImageDescriptor(boolean isInInterfaceOrAnnotation, int flags) { if (Flags.isPublic(flags) || isInInterfaceOrAnnotation) return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PUBLIC; else if (Flags.isPrivate(flags)) return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PRIVATE; else if (Flags.isProtected(flags)) return JavaPluginImages.DESC_OBJS_INNER_INTERFACE_PROTECTED; else return JavaPluginImages.DESC_OBJS_INTERFACE_DEFAULT; } |
| |||
private static ImageDescriptor [[#variable4ed1a500]](boolean isInInterfaceOrAnnotation, int flags) { if (Flags.isPublic(flags) || isInInterfaceOrAnnotation) return JavaPluginImages. [[#variable4ed1a460]]; else if (Flags.isPrivate(flags)) return JavaPluginImages. [[#variable4ed1a3e0]]; else if (Flags.isProtected(flags)) return JavaPluginImages. [[#variable4ed1a360]]; else return JavaPluginImages. [[#variable4ed1a2a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ed1a500]] | getInnerClassImageDescriptor |
1 | 2 | [[#4ed1a500]] | getInnerEnumImageDescriptor |
1 | 3 | [[#4ed1a500]] | getInnerAnnotationImageDescriptor |
1 | 4 | [[#4ed1a500]] | getInnerInterfaceImageDescriptor |
2 | 1 | [[#4ed1a460]] | DESC_OBJS_INNER_CLASS_PUBLIC |
2 | 2 | [[#4ed1a460]] | DESC_OBJS_ENUM |
2 | 3 | [[#4ed1a460]] | DESC_OBJS_ANNOTATION |
2 | 4 | [[#4ed1a460]] | DESC_OBJS_INNER_INTERFACE_PUBLIC |
3 | 1 | [[#4ed1a3e0]] | DESC_OBJS_INNER_CLASS_PRIVATE |
3 | 2 | [[#4ed1a3e0]] | DESC_OBJS_ENUM_PRIVATE |
3 | 3 | [[#4ed1a3e0]] | DESC_OBJS_ANNOTATION_PRIVATE |
3 | 4 | [[#4ed1a3e0]] | DESC_OBJS_INNER_INTERFACE_PRIVATE |
4 | 1 | [[#4ed1a360]] | DESC_OBJS_INNER_CLASS_PROTECTED |
4 | 2 | [[#4ed1a360]] | DESC_OBJS_ENUM_PROTECTED |
4 | 3 | [[#4ed1a360]] | DESC_OBJS_ANNOTATION_PROTECTED |
4 | 4 | [[#4ed1a360]] | DESC_OBJS_INNER_INTERFACE_PROTECTED |
5 | 1 | [[#4ed1a2a0]] | DESC_OBJS_INNER_CLASS_DEFAULT |
5 | 2 | [[#4ed1a2a0]] | DESC_OBJS_ENUM_DEFAULT |
5 | 3 | [[#4ed1a2a0]] | DESC_OBJS_ANNOTATION_DEFAULT |
5 | 4 | [[#4ed1a2a0]] | DESC_OBJS_INTERFACE_DEFAULT |