19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi.event;
27
28 import com.sun.jdi.*;
29
30 import java.util.List;
31
32 /**
33 * Abstract superinterface of events which have both location
34 * and thread.
35 *
36 * @author Robert Field
37 * @since 1.3
38 */
39 public interface LocatableEvent extends Event, Locatable {
40
41 /**
42 * Returns the thread in which this event has occurred.
43 *
44 * @return a {@link ThreadReference} which mirrors the event's thread in
45 * the target VM.
46 */
47 public ThreadReference thread();
48 }
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi.event;
27
28 import com.sun.jdi.*;
29
30 import java.util.List;
31
32 /**
33 * Abstract superinterface of events which have both location
34 * and thread.
35 *
36 * @author Robert Field
37 * @since 1.3
38 */
39 @jdk.Supported
40 public interface LocatableEvent extends Event, Locatable {
41
42 /**
43 * Returns the thread in which this event has occurred.
44 *
45 * @return a {@link ThreadReference} which mirrors the event's thread in
46 * the target VM.
47 */
48 public ThreadReference thread();
49 }
|