W3cubDocs

/OpenJDK 21

Interface MethodEntryEvent

All Superinterfaces:
Event, Locatable, LocatableEvent, Mirror
public interface MethodEntryEvent extends LocatableEvent
Notification of a method invocation in the target VM. This event occurs after entry into the invoked method and before any code has executed. Method entry events are generated for both native and non-native methods.

In some VMs method entry events can occur for a particular thread before its ThreadStartEvent occurs if methods are called as part of the thread's initialization.

Since:
1.3
See Also:

Method Summary

Modifier and Type Method Description
Method method()
Returns the method that was entered.

Methods declared in interface com.sun.jdi.event.Event

request

Methods declared in interface com.sun.jdi.Locatable

location

Methods declared in interface com.sun.jdi.event.LocatableEvent

thread

Methods declared in interface com.sun.jdi.Mirror

toString, virtualMachine

Method Details

method

Method method()
Returns the method that was entered.
Returns:
a Method which mirrors the method that was entered.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jdi/com/sun/jdi/event/MethodEntryEvent.html