Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.980 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 82 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java |
2 | 5 | 171 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba542be0]] | getClassImageDescriptor |
1 | 2 | [[#ba542be0]] | getInterfaceImageDescriptor |
2 | 1 | [[#ba542b80]] | DESC_OBJS_CLASS |
2 | 2 | [[#ba542b80]] | DESC_OBJS_INTERFACE |
3 | 1 | [[#ba542b00]] | DESC_OBJS_CLASS_DEFAULT |
3 | 2 | [[#ba542b00]] | DESC_OBJS_INTERFACE_DEFAULT |