1 20 21 package gov.nasa.jpf; 22 23 31 public class PropertyListenerAdapter extends GenericProperty implements 32 SearchListener, VMListener { 33 34 public boolean check(VM vm, Object arg) { 35 return true; 36 } 37 38 public void stateAdvanced(Search search) { 39 } 40 41 public void stateProcessed(Search search) { 42 } 43 44 public void stateBacktracked(Search search) { 45 } 46 47 public void stateRestored(Search search) { 48 } 49 50 public void propertyViolated(Search search) { 51 } 52 53 public void searchStarted(Search search) { 54 search.addProperty(this); 55 } 56 57 public void searchConstraintHit(Search search) { 58 } 59 60 public void searchFinished(Search search) { 61 } 62 63 public void instructionExecuted(VM vm) { 64 } 65 66 public void threadStarted(VM vm) { 67 } 68 69 public void threadTerminated(VM vm) { 70 } 71 72 public void classLoaded(VM vm) { 73 } 74 75 public void objectCreated(VM vm) { 76 } 77 78 public void objectReleased(VM vm) { 79 } 80 81 public void gcBegin(VM vm) { 82 } 83 84 public void gcEnd(VM vm) { 85 } 86 87 public void exceptionThrown(VM vm) { 88 } 89 90 } 91 | Popular Tags |