CloneSet4185


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5430.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15992
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
251002
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
351029
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
451039
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
Clone Instance
1
Line Count
5
Source Line
992
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

        /*
         * @see ISelectionProvider#addSelectionChangedListener(ISelectionChangedListener)
         */
        public void addSelectionChangedListener(ISelectionChangedListener listener) {
                if (fOutlineViewer != null)
                        fOutlineViewer.addSelectionChangedListener(listener);
                else
                        fSelectionChangedListeners.add(listener);
        }


Clone Instance
2
Line Count
5
Source Line
1002
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

        /*
         * @see ISelectionProvider#removeSelectionChangedListener(ISelectionChangedListener)
         */
        public void removeSelectionChangedListener(ISelectionChangedListener listener) {
                if (fOutlineViewer != null)
                        fOutlineViewer.removeSelectionChangedListener(listener);
                else
                        fSelectionChangedListeners.remove(listener);
        }


Clone Instance
3
Line Count
5
Source Line
1029
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

        /*
         * @see org.eclipse.jface.text.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
        public void addPostSelectionChangedListener(ISelectionChangedListener listener) {
                if (fOutlineViewer != null)
                        fOutlineViewer.addPostSelectionChangedListener(listener);
                else
                        fPostSelectionChangedListeners.add(listener);
        }


Clone Instance
4
Line Count
5
Source Line
1039
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

        /*
         * @see org.eclipse.jface.text.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
        public void removePostSelectionChangedListener(ISelectionChangedListener listener) {
                if (fOutlineViewer != null)
                        fOutlineViewer.removePostSelectionChangedListener(listener);
                else
                        fPostSelectionChangedListeners.remove(listener);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ISelectionProvider#addSelectionChangedListener(ISelectionChangedListener)
         */
/*
         * @see ISelectionProvider#removeSelectionChangedListener(ISelectionChangedListener)
         */
/*
         * @see org.eclipse.jface.text.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
/*
         * @see org.eclipse.jface.text.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
public void [[#variable58a120a0]](ISelectionChangedListener listener) {
  if (fOutlineViewer != null)
    fOutlineViewer. [[#variable58a120a0]](listener);
  else
     [[#variable627a7080]]. [[#variable58a12180]](listener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58a120a0]]
addSelectionChangedListener 
12[[#58a120a0]]
removeSelectionChangedListener 
13[[#58a120a0]]
addPostSelectionChangedListener 
14[[#58a120a0]]
removePostSelectionChangedListener 
21[[#627a7080]]
fSelectionChangedListeners 
22[[#627a7080]]
fSelectionChangedListeners 
23[[#627a7080]]
fPostSelectionChangedListeners 
24[[#627a7080]]
fPostSelectionChangedListeners 
31[[#58a12180]]
add 
32[[#58a12180]]
remove 
33[[#58a12180]]
add 
34[[#58a12180]]
remove