CloneSet3395


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18187
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
28207
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
Clone Instance
1
Line Count
8
Source Line
187
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java

        /* (non-Javadoc)
         * @see IBaseLabelProvider#addListener(ILabelProviderListener)
         */
        public void addListener(ILabelProviderListener listener) {
                if (fLabelDecorators != null) {
                        for (int i = 0; i < fLabelDecorators.size(); i++) {
                                ILabelDecorator decorator = (ILabelDecorator) fLabelDecorators.get(i);
                                decorator.addListener(listener);
                        }
                }
                fListeners.add(listener);
        }


Clone Instance
2
Line Count
8
Source Line
207
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java

        /* (non-Javadoc)
         * @see IBaseLabelProvider#removeListener(ILabelProviderListener)
         */
        public void removeListener(ILabelProviderListener listener) {
                if (fLabelDecorators != null) {
                        for (int i = 0; i < fLabelDecorators.size(); i++) {
                                ILabelDecorator decorator = (ILabelDecorator) fLabelDecorators.get(i);
                                decorator.removeListener(listener);
                        }
                }
                fListeners.remove(listener);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/* (non-Javadoc)
         * @see IBaseLabelProvider#addListener(ILabelProviderListener)
         */
/* (non-Javadoc)
         * @see IBaseLabelProvider#removeListener(ILabelProviderListener)
         */
public void [[#variable779fc8c0]](ILabelProviderListener listener) {
  if (fLabelDecorators != null) {
    for (int i = 0; i < fLabelDecorators.size(); i++) {
      ILabelDecorator decorator = (ILabelDecorator) fLabelDecorators.get(i);
      decorator. [[#variable779fc8c0]](listener);
    }
  }
  fListeners. [[#variable779fd220]](listener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#779fc8c0]]
addListener 
12[[#779fc8c0]]
removeListener 
21[[#779fd220]]
add 
22[[#779fd220]]
remove