Event
, Locatable
, LocatableEvent
, Mirror
AccessWatchpointEvent
, ModificationWatchpointEvent
public interface WatchpointEvent extends LocatableEvent
EventQueue
,
VirtualMachine
Modifier and Type | Method | Description |
---|---|---|
Field |
field() |
Returns the field that is about to be accessed/modified.
|
ObjectReference |
object() |
Returns the object whose field is about to be accessed/modified.
|
Value |
valueCurrent() |
Current value of the field.
|
thread
toString, virtualMachine
Field field()
Field
which mirrors the field
in the target VM.ObjectCollectedException
- may be thrown if class
has been garbage collected.ObjectReference object()
ObjectReference
which mirrors the event's
object in the target VM.Value valueCurrent()
ObjectCollectedException
- if object or class have been
garbage collected.
Copyright © 1999, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1ubuntu1