CloneSet8565


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.952class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19151
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java
210165
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java
Clone Instance
1
Line Count
9
Source Line
151
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java

        /*
         * @see ISelectionProvider#addSelectionChangedListener
         */
        public void addSelectionChangedListener(ISelectionChangedListener listener) {
                fSelectionChangedListeners.add(listener);
        }

        /*
         * @see ISelectionProvider#removeSelectionChangedListener
         */
        public void removeSelectionChangedListener(ISelectionChangedListener listener) {
                fSelectionChangedListeners.remove(listener);
        }


Clone Instance
2
Line Count
10
Source Line
165
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java

        /* (non-Javadoc)
         * @see org.eclipse.jface.viewers.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
        public void addPostSelectionChangedListener(ISelectionChangedListener listener) {
                fPostSelectionChangedListeners.add(listener);
        }


        /* (non-Javadoc)
         * @see org.eclipse.jface.viewers.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
        public void removePostSelectionChangedListener(ISelectionChangedListener listener) {
                fPostSelectionChangedListeners.remove(listener);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ISelectionProvider#addSelectionChangedListener
         */
/* (non-Javadoc)
         * @see org.eclipse.jface.viewers.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
public void [[#variableb57f0e80]](ISelectionChangedListener listener) {
   [[#variableb57f0de0]].add(listener);
}

/*
         * @see ISelectionProvider#removeSelectionChangedListener
         */
/* (non-Javadoc)
         * @see org.eclipse.jface.viewers.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
         */
public void [[#variableb57f03e0]](ISelectionChangedListener listener) {
   [[#variableb57f0de0]].remove(listener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b57f0e80]]
addSelectionChangedListener 
12[[#b57f0e80]]
addPostSelectionChangedListener 
21[[#b57f0de0]]
fSelectionChangedListeners 
22[[#b57f0de0]]
fPostSelectionChangedListeners 
31[[#b57f03e0]]
removeSelectionChangedListener 
32[[#b57f03e0]]
removePostSelectionChangedListener