{
if ( event instanceof WatchpointEvent )
{
if ( event instanceof AccessWatchpointEvent )
{
AccessWatchpointEvent accessEvent = (AccessWatchpointEvent) event;
handler.onAccessWatchpoint( suspension, event.virtualMachine(), accessEvent.thread(),
(WatchpointRequest) event.request(), accessEvent.object(),
accessEvent.field(), accessEvent.valueCurrent(),
accessEvent.location() );
}
else if ( event instanceof ModificationWatchpointEvent )
{
ModificationWatchpointEvent modificationEvent = (ModificationWatchpointEvent) event;
handler.onModificationWatchpoint( suspension, event.virtualMachine(),