1 11 package org.eclipse.jdi.internal.request; 12 13 14 import org.eclipse.jdi.internal.VirtualMachineImpl; 15 import org.eclipse.jdi.internal.event.StepEventImpl; 16 17 import com.sun.jdi.ThreadReference; 18 import com.sun.jdi.request.StepRequest; 19 20 26 public class StepRequestImpl extends EventRequestImpl implements StepRequest { 27 30 public StepRequestImpl(VirtualMachineImpl vmImpl) { 31 super("StepRequest", vmImpl); } 33 34 37 protected StepRequestImpl(String description, VirtualMachineImpl vmImpl) { 38 super(description, vmImpl); 39 } 40 41 44 public int depth() { 45 return ((EventRequestImpl.ThreadStepFilter)fThreadStepFilters.get(0)).fThreadStepDepth; 46 } 47 48 51 public int size() { 52 return ((EventRequestImpl.ThreadStepFilter)fThreadStepFilters.get(0)).fThreadStepSize; 53 } 54 55 58 public ThreadReference thread() { 59 return ((EventRequestImpl.ThreadStepFilter)fThreadStepFilters.get(0)).fThread; 60 } 61 62 65 protected final byte eventKind() { 66 return StepEventImpl.EVENT_KIND; 67 } 68 } 69 | Popular Tags |