26 package com.sun.jdi.event;
27
28 import com.sun.jdi.*;
29
30 /**
31 * Notification of a method invocation in the target VM. This event
32 * occurs after entry into the invoked method and before any
33 * code has executed.
34 * Method entry events are generated for both native and non-native
35 * methods.
36 * <P>
37 * In some VMs method entry events can occur for a particular thread
38 * before its {@link ThreadStartEvent} occurs if methods are called
39 * as part of the thread's initialization.
40 *
41 * @see EventQueue
42 *
43 * @author Robert Field
44 * @since 1.3
45 */
46 public interface MethodEntryEvent extends LocatableEvent {
47
48 /**
49 * Returns the method that was entered.
50 *
51 * @return a {@link Method} which mirrors the method that was entered.
52 */
53 public Method method();
54 }
|
26 package com.sun.jdi.event;
27
28 import com.sun.jdi.*;
29
30 /**
31 * Notification of a method invocation in the target VM. This event
32 * occurs after entry into the invoked method and before any
33 * code has executed.
34 * Method entry events are generated for both native and non-native
35 * methods.
36 * <P>
37 * In some VMs method entry events can occur for a particular thread
38 * before its {@link ThreadStartEvent} occurs if methods are called
39 * as part of the thread's initialization.
40 *
41 * @see EventQueue
42 *
43 * @author Robert Field
44 * @since 1.3
45 */
46 @jdk.Supported
47 public interface MethodEntryEvent extends LocatableEvent {
48
49 /**
50 * Returns the method that was entered.
51 *
52 * @return a {@link Method} which mirrors the method that was entered.
53 */
54 public Method method();
55 }
|