00001 package gov.nasa.arc.ase.jpf.jvm.examine; 00002 00003 import gov.nasa.arc.ase.jpf.*; 00004 import gov.nasa.arc.ase.jpf.jvm.*; 00005 00006 public interface iState { // KernelState query interface 00007 00008 // given thread number, look at top of stack, return method for query 00009 public iMethodState getMethodState(int threadNumber); 00010 // get value of a static field 00011 public iValue getStaticFieldValue(String className, String fieldName); 00012 // is a thread active 00013 public boolean isActive(int threadNumber); 00014 // find the new state after one step in the path 00015 public void newState(); 00016 // number of threads 00017 public int numOfThreads(); 00018 }