org.dellroad.jc.cgen
Class ActiveUseCheckStmt

java.lang.Object
  extended bysoot.tagkit.AbstractHost
      extended bysoot.AbstractUnit
          extended bysoot.jimple.internal.AbstractStmt
              extended bysoot.jimple.internal.JInvokeStmt
                  extended byorg.dellroad.jc.cgen.ActiveUseCheckStmt
All Implemented Interfaces:
ConvertToBaf, Host, InvokeStmt, Serializable, Stmt, Switchable, Unit

public class ActiveUseCheckStmt
extends JInvokeStmt

Jimple statement that represents a class initialization check. This is a hack, as we have to look like a normal Jimple stmt.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
ActiveUseCheckStmt(SootClass sc)
           
 
Method Summary
static SootClass getSootClass(Stmt stmt)
           
static void insertActiveUseCheck(PatchingChain units, Stmt stmt, SootClass cl)
           
static boolean isActiveUseCheck(Stmt stmt)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.JInvokeStmt
apply, branches, clone, containsInvokeExpr, convertToBaf, fallsThrough, getInvokeExpr, getInvokeExprBox, getUseBoxes, setInvokeExpr
 
Methods inherited from class soot.jimple.internal.AbstractStmt
containsArrayRef, containsFieldRef, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox
 
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
 
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.jimple.Stmt
containsArrayRef, containsFieldRef, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox
 
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
 
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 

Constructor Detail

ActiveUseCheckStmt

public ActiveUseCheckStmt(SootClass sc)
Method Detail

toString

public void toString(UnitPrinter up)

toString

public String toString()

getSootClass

public static SootClass getSootClass(Stmt stmt)

insertActiveUseCheck

public static void insertActiveUseCheck(PatchingChain units,
                                        Stmt stmt,
                                        SootClass cl)

isActiveUseCheck

public static boolean isActiveUseCheck(Stmt stmt)