站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java 2 SDK v1.4.2, Java 2 SDK 英文文档

Locatable (Java Debug Interface) - Java 2 SDK v1.4.2, Java 2 SDK 英文文档

Java Debug Interface

com.sun.jdi
Interface Locatable

All Known Subinterfaces:
AccessWatchpointEvent, BreakpointEvent, BreakpointRequest, ExceptionEvent, LocatableEvent, Method, MethodEntryEvent, MethodExitEvent, ModificationWatchpointEvent, StackFrame, StepEvent, WatchpointEvent

public interface Locatable

A mirror that has a Location.

Since:
1.3

Method Summary
 Location location()
          Returns the Location of this mirror, if there is executable code associated with it.
 

Method Detail

location

public Location location()
Returns the Location of this mirror, if there is executable code associated with it. Note that both JavaTM 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.

Java Debug Interface