CloneSet4104


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.988statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1786
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java
2893
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java
Clone Instance
1
Line Count
7
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java

                for (int i = 0; i < listeners.length; i++) {
                        Object object = listeners[i];
                        ISelectionChangedListener listener = (ISelectionChangedListener) object;
                        fViewer.addPostSelectionChangedListener(listener);
                }

                listeners = fSelectionChangedListenerList.getListeners();


Clone Instance
2
Line Count
8
Source Line
93
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java

                for (int i = 0; i < listeners.length; i++) {
                        Object object = listeners[i];
                        ISelectionChangedListener listener = (ISelectionChangedListener) object;
                        fViewer.addSelectionChangedListener(listener);
                }

                // Add all other listeners
                listeners = fListenerList.getListeners();


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i < listeners.length; i++) {
  Object object = listeners[i];
  ISelectionChangedListener listener = (ISelectionChangedListener) object;
  fViewer. [[#variable56a9a220]](listener);
}
// Add all other listeners
listeners = [[#variable56a9a520]].getListeners();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56a9a220]]
addPostSelectionChangedListener 
12[[#56a9a220]]
addSelectionChangedListener 
21[[#56a9a520]]
fSelectionChangedListenerList 
22[[#56a9a520]]
fListenerList