CloneSet5261


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14287
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java
24303
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java
Clone Instance
1
Line Count
4
Source Line
287
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java

        /**
         * Adds the given listener to this target's event dispatcher's
         * table of listeners for the specified event request. The listener
         * will be notified each time the event occurs.
         * 
         * @param listener the listener to register
         * @param request the event request
         */
        public void addJDIEventListener(IJDIEventListener listener, EventRequest request) {
                EventDispatcher dispatcher = ((JDIDebugTarget) getDebugTarget()).getEventDispatcher();
                if (dispatcher != null) {
                        dispatcher.addJDIEventListener(listener, request);
                }
        }


Clone Instance
2
Line Count
4
Source Line
303
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java

        /**
         * Removes the given listener from this target's event dispatcher's
         * table of listeners for the specifed event request. The listener
         * will no longer be notified when the event occurs. Listeners
         * are responsible for deleting the event request if desired.
         * 
         * @param listener the listener to remove
         * @param request the event request
         */
        public void removeJDIEventListener(IJDIEventListener listener, EventRequest request) {
                EventDispatcher dispatcher = ((JDIDebugTarget) getDebugTarget()).getEventDispatcher();
                if (dispatcher != null) {
                        dispatcher.removeJDIEventListener(listener, request);
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Adds the given listener to this target's event dispatcher's
         * table of listeners for the specified event request. The listener
         * will be notified each time the event occurs.
         * 
         * @param listener the listener to register
         * @param request the event request
         */
/**
         * Removes the given listener from this target's event dispatcher's
         * table of listeners for the specifed event request. The listener
         * will no longer be notified when the event occurs. Listeners
         * are responsible for deleting the event request if desired.
         * 
         * @param listener the listener to remove
         * @param request the event request
         */
public void [[#variableb2e8f500]](IJDIEventListener listener, EventRequest request) {
  EventDispatcher dispatcher = ((JDIDebugTarget) getDebugTarget()).getEventDispatcher();
  if (dispatcher != null) {
    dispatcher. [[#variableb2e8f500]](listener, request);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2e8f500]]
addJDIEventListener 
12[[#b2e8f500]]
removeJDIEventListener