1 19 20 25 26 27 28 29 30 package soot.jimple; 31 32 import soot.*; 33 34 public abstract class AbstractStmtSwitch implements StmtSwitch 35 { 36 Object result; 37 38 public void caseBreakpointStmt(BreakpointStmt stmt) 39 { 40 defaultCase(stmt); 41 } 42 43 public void caseInvokeStmt(InvokeStmt stmt) 44 { 45 defaultCase(stmt); 46 } 47 48 public void caseAssignStmt(AssignStmt stmt) 49 { 50 defaultCase(stmt); 51 } 52 53 public void caseIdentityStmt(IdentityStmt stmt) 54 { 55 defaultCase(stmt); 56 } 57 58 public void caseEnterMonitorStmt(EnterMonitorStmt stmt) 59 { 60 defaultCase(stmt); 61 } 62 63 public void caseExitMonitorStmt(ExitMonitorStmt stmt) 64 { 65 defaultCase(stmt); 66 } 67 68 public void caseGotoStmt(GotoStmt stmt) 69 { 70 defaultCase(stmt); 71 } 72 73 public void caseIfStmt(IfStmt stmt) 74 { 75 defaultCase(stmt); 76 } 77 78 public void caseLookupSwitchStmt(LookupSwitchStmt stmt) 79 { 80 defaultCase(stmt); 81 } 82 83 public void caseNopStmt(NopStmt stmt) 84 { 85 defaultCase(stmt); 86 } 87 88 public void caseRetStmt(RetStmt stmt) 89 { 90 defaultCase(stmt); 91 } 92 93 public void caseReturnStmt(ReturnStmt stmt) 94 { 95 defaultCase(stmt); 96 } 97 98 public void caseReturnVoidStmt(ReturnVoidStmt stmt) 99 { 100 defaultCase(stmt); 101 } 102 103 public void caseTableSwitchStmt(TableSwitchStmt stmt) 104 { 105 defaultCase(stmt); 106 } 107 108 public void caseThrowStmt(ThrowStmt stmt) 109 { 110 defaultCase(stmt); 111 } 112 113 public void defaultCase(Object obj) 114 { 115 } 116 117 public void setResult(Object result) 118 { 119 this.result = result; 120 } 121 122 public Object getResult() 123 { 124 return result; 125 } 126 } 127 128 | Popular Tags |