soot.jimple.toolkits.invoke
Class ThrowManager
java.lang.Object
soot.jimple.toolkits.invoke.ThrowManager
public class ThrowManager
- extends Object
Utility methods for dealing with traps.
Method Summary |
static Stmt |
getNullPointerExceptionThrower(JimpleBody b)
Iterate through the statements in b (starting at the end), returning
the last instance of the following pattern:
r928 = new java.lang.NullPointerException;
specialinvoke r928.""();
throw r928;
Creates if necessary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowManager
public ThrowManager()
getNullPointerExceptionThrower
public static Stmt getNullPointerExceptionThrower(JimpleBody b)
- Iterate through the statements in b (starting at the end), returning
the last instance of the following pattern:
r928 = new java.lang.NullPointerException;
specialinvoke r928.""();
throw r928;
Creates if necessary.