soot.jimple.toolkits.invoke
Class ThrowManager

java.lang.Object
  extended by soot.jimple.toolkits.invoke.ThrowManager

public class ThrowManager
extends Object

Utility methods for dealing with traps.


Constructor Summary
ThrowManager()
           
 
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
 

Constructor Detail

ThrowManager

public ThrowManager()
Method Detail

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.