1 19 20 package soot.toolkits.exceptions; 21 22 import soot.Unit; 23 import soot.Singletons; 24 import soot.G; 25 import soot.toolkits.exceptions.*; 26 import soot.baf.ThrowInst; 27 import soot.jimple.ThrowStmt; 28 29 37 public class PedanticThrowAnalysis extends AbstractThrowAnalysis { 38 39 46 public PedanticThrowAnalysis(Singletons.Global g) {} 47 48 53 public static PedanticThrowAnalysis v() { 54 return G.v().soot_toolkits_exceptions_PedanticThrowAnalysis(); 55 } 56 57 58 67 public ThrowableSet mightThrow(Unit u) { 68 return ThrowableSet.Manager.v().ALL_THROWABLES; 69 } 70 71 72 83 public ThrowableSet mightThrowImplicitly(ThrowInst t) { 84 return ThrowableSet.Manager.v().ALL_THROWABLES; 85 } 86 87 88 99 public ThrowableSet mightThrowImplicitly(ThrowStmt t) { 100 return ThrowableSet.Manager.v().ALL_THROWABLES; 101 } 102 } 103 104 | Popular Tags |