CloneSet8564


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.952class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16824
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
213232
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java
Clone Instance
1
Line Count
6
Source Line
824
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java

                        public void addListener(IAnnotationModelListener listener) {
                                fListenerList.add(listener);
                        }

                        public void removeListener(IAnnotationModelListener listener) {
                                fListenerList.remove(listener);
                        }


Clone Instance
2
Line Count
13
Source Line
232
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java

        /**
         * Adds a compound edit listener. Multiple registration is possible. Note that the receiver is
         * automatically disarmed before the listeners are notified.
         * 
         * @param listener the new listener
         */
        public void addCompoundListener(ICompoundEditListener listener) {
                fListenerList.add(listener);
        }

        /**
         * Removes a compound edit listener. If <code>listener</code> is registered multiple times, an
         * arbitrary instance is removed. If <code>listener</code> is not currently registered,
         * nothing happens.
         * 
         * @param listener the listener to be removed.
         */
        public void removeCompoundListener(ICompoundEditListener listener) {
                fListenerList.remove(listener);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Adds a compound edit listener. Multiple registration is possible. Note that the receiver is
         * automatically disarmed before the listeners are notified.
         * 
         * @param listener the new listener
         */
public void [[#variableb94d3960]]( [[#variablec1fa9520]] listener) {
  fListenerList.add(listener);
}

/**
         * Removes a compound edit listener. If <code>listener</code> is registered multiple times, an
         * arbitrary instance is removed. If <code>listener</code> is not currently registered,
         * nothing happens.
         * 
         * @param listener the listener to be removed.
         */
public void [[#variablea4b5cbc0]]( [[#variablec1fa9520]] listener) {
  fListenerList.remove(listener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b94d3960]]
addCompoundListener 
12[[#b94d3960]]
addListener 
21[[#c1fa9520]]
ICompoundEditListener 
22[[#c1fa9520]]
IAnnotationModelListener 
31[[#a4b5cbc0]]
removeCompoundListener 
32[[#a4b5cbc0]]
removeListener