Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 25 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ColorDecoratingLabelProvider.java |
2 | 5 | 32 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ColorDecoratingLabelProvider.java |
| ||||
public Color getForeground(Object element) { ILabelProvider labelProvider = getLabelProvider(); if (labelProvider instanceof IColorProvider) return ((IColorProvider) labelProvider).getForeground(element); return null; } |
| ||||
public Color getBackground(Object element) { ILabelProvider labelProvider = getLabelProvider(); if (labelProvider instanceof IColorProvider) return ((IColorProvider) labelProvider).getBackground(element); return null; } |
| |||
public Color [[#variablea2a9d200]](Object element) { ILabelProvider labelProvider = getLabelProvider(); if (labelProvider instanceof IColorProvider) return ((IColorProvider) labelProvider). [[#variablea2a9d200]](element); return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a2a9d200]] | getForeground |
1 | 2 | [[#a2a9d200]] | getBackground |