Interface Locatable
- All Known Subinterfaces:
-
AccessWatchpointEvent
,BreakpointEvent
,BreakpointRequest
,ExceptionEvent
,LocatableEvent
,Method
,MethodEntryEvent
,MethodExitEvent
,ModificationWatchpointEvent
,MonitorContendedEnteredEvent
,MonitorContendedEnterEvent
,MonitorWaitedEvent
,MonitorWaitEvent
,StackFrame
,StepEvent
,WatchpointEvent
public interface Locatable
A mirror that has a Location
.
- Since:
- 1.3
Methods
Modifier and Type | Method | Description |
---|---|---|
Location | location() | Returns the |
Methods
location
Location location()
Returns the Location
of this mirror, if there is executable code associated with it. Note that both Java™ programming language methods and native methods have executable code. Returns null for abstract methods, since abstract methods have no executable code.
- Returns:
- the
Location
of this mirror, or null if there is no executable code associated with it.
© 1993, 2020, 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/11/docs/api/jdk.jdi/com/sun/jdi/Locatable.html