1 11 package com.sun.jdi; 12 13 14 import java.util.List ; 15 import java.util.Map ; 16 17 import com.sun.jdi.event.EventQueue; 18 import com.sun.jdi.request.EventRequestManager; 19 20 public interface VirtualMachine extends Mirror { 21 public static final int TRACE_NONE = 0; 22 public static final int TRACE_SENDS = 1; 23 public static final int TRACE_RECEIVES = 2; 24 public static final int TRACE_EVENTS = 4; 25 public static final int TRACE_REFTYPES = 8; 26 public static final int TRACE_OBJREFS = 16; 27 public static final int TRACE_ALL = 16777215; 28 public List allClasses(); 29 public List allThreads(); 30 public boolean canAddMethod(); 31 public boolean canBeModified(); 32 public boolean canGetBytecodes(); 33 public boolean canGetCurrentContendedMonitor(); 34 public boolean canGetMonitorInfo(); 35 public boolean canGetOwnedMonitorInfo(); 36 public boolean canGetSourceDebugExtension(); 37 public boolean canGetSyntheticAttribute(); 38 public boolean canPopFrames(); 39 public boolean canRedefineClasses(); 40 public boolean canRequestVMDeathEvent(); 41 public boolean canUnrestrictedlyRedefineClasses(); 42 public boolean canUseInstanceFilters(); 43 public boolean canWatchFieldAccess(); 44 public boolean canWatchFieldModification(); 45 public List classesByName(String arg1); 46 public String description(); 47 public void dispose(); 48 public EventQueue eventQueue(); 49 public EventRequestManager eventRequestManager(); 50 public void exit(int arg1); 51 public String getDefaultStratum(); 52 public BooleanValue mirrorOf(boolean arg1); 53 public ByteValue mirrorOf(byte arg1); 54 public CharValue mirrorOf(char arg1); 55 public DoubleValue mirrorOf(double arg1); 56 public FloatValue mirrorOf(float arg1); 57 public IntegerValue mirrorOf(int arg1); 58 public LongValue mirrorOf(long arg1); 59 public StringReference mirrorOf(String arg1); 60 public ShortValue mirrorOf(short arg1); 61 public String name(); 62 public Process process(); 63 public void redefineClasses(Map arg1); 64 public void resume(); 65 public void setDebugTraceMode(int arg1); 66 public void setDefaultStratum(String arg1); 67 public void suspend(); 68 public List topLevelThreadGroups(); 69 public String version(); 70 public boolean canGetInstanceInfo(); 71 public long[] instanceCounts(List arg1); 72 public boolean canGetClassFileVersion(); 73 public boolean canGetConstantPool(); 74 public boolean canUseSourceNameFilters(); 75 public boolean canGetMethodReturnValues(); 76 public boolean canForceEarlyReturn(); 77 public boolean canRequestMonitorEvents(); 78 public boolean canGetMonitorFrameInfo(); 79 public VoidValue mirrorOfVoid(); 80 } 81 | Popular Tags |