Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 149 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java |
2 | 9 | 160 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50780060]] | getInnerClassImageDescriptor |
1 | 2 | [[#50780060]] | getInnerInterfaceImageDescriptor |
2 | 1 | [[#56091fe0]] | DESC_OBJS_INNER_CLASS_PUBLIC |
2 | 2 | [[#56091fe0]] | DESC_OBJS_INNER_INTERFACE_PUBLIC |
3 | 1 | [[#56091f60]] | DESC_OBJS_INNER_CLASS_PRIVATE |
3 | 2 | [[#56091f60]] | DESC_OBJS_INNER_INTERFACE_PRIVATE |
4 | 1 | [[#56091f00]] | DESC_OBJS_INNER_CLASS_PROTECTED |
4 | 2 | [[#56091f00]] | DESC_OBJS_INNER_INTERFACE_PROTECTED |
5 | 1 | [[#56091e20]] | DESC_OBJS_INNER_CLASS_DEFAULT |
5 | 2 | [[#56091e20]] | DESC_OBJS_INTERFACE_DEFAULT |