APIdia Launch Partner
Top Description Methods
com.sun.jdi.event

public Interface LocatableEvent

extends Event, Locatable
Known Direct Subinterfaces
com.sun.jdi.event.MethodEntryEvent, com.sun.jdi.event.MethodExitEvent, com.sun.jdi.event.MonitorContendedEnteredEvent, com.sun.jdi.event.MonitorContendedEnterEvent, com.sun.jdi.event.MonitorWaitedEvent, com.sun.jdi.event.MonitorWaitEvent, com.sun.jdi.event.StepEvent, com.sun.jdi.event.WatchpointEvent, com.sun.jdi.event.BreakpointEvent, com.sun.jdi.event.ExceptionEvent
Imports
com.sun.jdi.Locatable, .ThreadReference

Abstract superinterface of events which have both location and thread.
Author
Robert Field
Since
1.3

Method Summary

Modifier and TypeMethod and Description
public ThreadReference

Returns:

a ThreadReference which mirrors the event's thread in the target VM.
thread
()

Returns the thread in which this event has occurred.

Inherited from com.sun.jdi.event.Event:
request
Inherited from com.sun.jdi.Locatable:
location

Method Detail

threadback to summary
public ThreadReference thread()

Returns the thread in which this event has occurred.

Returns:ThreadReference

a ThreadReference which mirrors the event's thread in the target VM.