|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.tagkit.AbstractHost
soot.AbstractUnit
soot.jimple.internal.AbstractStmt
soot.jimple.internal.JInvokeStmt
org.dellroad.jc.cgen.NullCheckStmt
Jimple statement that represents a null pointer check. This is a hack, as we have to look like a normal Jimple stmt.
Field Summary |
Fields inherited from class soot.AbstractUnit |
emptyList |
Constructor Summary | |
NullCheckStmt(Value value)
|
Method Summary | |
static SootMethod |
getNullCheckMethod()
|
Value |
getNullCheckValue()
|
static void |
insertNullCheck(PatchingChain units,
Stmt stmt,
Value value)
|
static boolean |
isNullCheck(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 |
public NullCheckStmt(Value value)
Method Detail |
public Value getNullCheckValue()
public void toString(UnitPrinter up)
public String toString()
public static SootMethod getNullCheckMethod()
public static void insertNullCheck(PatchingChain units, Stmt stmt, Value value)
public static boolean isNullCheck(Stmt stmt)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |