handler.onStep( suspension, stepEvent.virtualMachine(), stepEvent.thread(),
(StepRequest) stepEvent.request(), stepEvent.location() );
}
else if ( event instanceof MonitorContendedEnterEvent )
{
MonitorContendedEnterEvent contendedEnterEvent = (MonitorContendedEnterEvent) event;
handler.onContendedMonitorBlocked( suspension, event.virtualMachine(),
contendedEnterEvent.thread(),
(MonitorContendedEnterRequest) event.request(),
contendedEnterEvent.monitor(),
contendedEnterEvent.location() );
}
else if ( event instanceof MonitorContendedEnteredEvent )
{
MonitorContendedEnteredEvent contendedEnteredEvent = (MonitorContendedEnteredEvent) event;
handler.onContendedMonitorEntered( suspension, event.virtualMachine(),