Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 287 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java |
2 | 4 | 303 | 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); } } |
| ||||
/** * 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); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2e8f500]] | addJDIEventListener |
1 | 2 | [[#b2e8f500]] | removeJDIEventListener |