1 11 package org.eclipse.jdi.internal.request; 12 13 14 import org.eclipse.jdi.internal.VirtualMachineImpl; 15 import org.eclipse.jdi.internal.event.EventImpl; 16 import org.eclipse.jdi.internal.event.MethodExitEventImpl; 17 18 import com.sun.jdi.request.MethodExitRequest; 19 20 26 public class MethodExitRequestImpl extends EventRequestImpl implements MethodExitRequest { 27 30 public MethodExitRequestImpl(VirtualMachineImpl vmImpl) { 31 super("MethodExitRequest", vmImpl); } 33 34 37 protected final byte eventKind() { 38 if (virtualMachine().canGetMethodReturnValues()) { 39 return EventImpl.EVENT_METHOD_EXIT_WITH_RETURN_VALUE; 40 } 41 return MethodExitEventImpl.EVENT_KIND; 42 } 43 } 44 | Popular Tags |