- 所有超级接口:
-
Event,Locatable,LocatableEvent,Mirror
线程在目标虚拟机中遇到的字段触发事件的通知。
- 自版本:
- 1.3
- 参见:
-
Method Summary
Methods declared in interface com.sun.jdi.event.LocatableEvent
threadMethods declared in interface com.sun.jdi.Mirror
toString, virtualMachine
-
Method Details
-
field
Field field()返回即将被访问/修改的字段。- 返回:
-
一个在目标虚拟机中反映该字段的
Field。 - 抛出:
-
ObjectCollectedException- 如果类已被垃圾回收可能会抛出。
-
object
ObjectReference object()返回即将被访问/修改其字段的对象。如果访问的是静态字段,则返回null。- 返回:
-
一个在目标虚拟机中反映事件对象的
ObjectReference。
-
valueCurrent
Value valueCurrent()字段的当前值。- 抛出:
-
ObjectCollectedException- 如果对象或类已被垃圾回收。
-