CloneSet5492


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1525
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ColorDecoratingLabelProvider.java
2532
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ColorDecoratingLabelProvider.java
Clone Instance
1
Line Count
5
Source Line
25
Source File
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;
        }


Clone Instance
2
Line Count
5
Source Line
32
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ColorDecoratingLabelProvider.java

        public Color getBackground(Object element) {
                ILabelProvider labelProvider = getLabelProvider();
                if (labelProvider instanceof IColorProvider)
                        return ((IColorProvider) labelProvider).getBackground(element);
                return null;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public Color  [[#variablea2a9d200]](Object element) {
  ILabelProvider labelProvider = getLabelProvider();
  if (labelProvider instanceof IColorProvider)
    return ((IColorProvider) labelProvider). [[#variablea2a9d200]](element);
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a2a9d200]]
getForeground 
12[[#a2a9d200]]
getBackground