|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--soot.tagkit.AbstractHost
|
+--soot.AbstractUnit
|
+--soot.jimple.internal.AbstractStmt
|
+--soot.jimple.internal.JIfStmt
| Field Summary |
| Fields inherited from class soot.AbstractUnit |
emptyList |
| Constructor Summary | |
protected |
JIfStmt(ValueBox conditionBox,
UnitBox targetBox)
|
|
JIfStmt(Value condition,
Unit target)
|
|
JIfStmt(Value condition,
UnitBox target)
|
| Method Summary | |
void |
apply(Switch sw)
Called when this object is visited. |
boolean |
branches()
Returns true if execution after this statement is not the following statement. |
java.lang.Object |
clone()
Returns a deep clone of this object. |
void |
convertToBaf(JimpleToBafContext context,
java.util.List out)
|
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement. |
Value |
getCondition()
|
ValueBox |
getConditionBox()
|
Stmt |
getTarget()
|
UnitBox |
getTargetBox()
|
java.util.List |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically branch targets. |
java.util.List |
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit. |
void |
setCondition(Value condition)
|
void |
setTarget(Unit target)
|
java.lang.String |
toString()
Returns a textual representation of this object. |
protected java.lang.String |
toString(boolean isBrief,
java.util.Map stmtToName,
java.lang.String indentation)
Returns a textual representation of this object, with the given briefness, Map and indentation. |
| Methods inherited from class soot.jimple.internal.AbstractStmt |
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox |
| Methods inherited from class soot.AbstractUnit |
getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString |
| Methods inherited from class soot.tagkit.AbstractHost |
addTag, getTag, getTags, hasTag, 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, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString |
| Methods inherited from interface soot.Unit |
getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, redirectJumpsToThisTo |
| Methods inherited from interface soot.tagkit.Host |
addTag, getTag, getTags, hasTag, removeTag |
| Constructor Detail |
public JIfStmt(Value condition,
Unit target)
public JIfStmt(Value condition,
UnitBox target)
protected JIfStmt(ValueBox conditionBox,
UnitBox targetBox)
| Method Detail |
public java.lang.Object clone()
AbstractUnit
clone in interface Unitclone in class AbstractUnit
protected java.lang.String toString(boolean isBrief,
java.util.Map stmtToName,
java.lang.String indentation)
AbstractUnit
toString in class AbstractUnitpublic java.lang.String toString()
AbstractUnit
toString in interface StmttoString in class AbstractUnitpublic Value getCondition()
getCondition in interface IfStmtpublic void setCondition(Value condition)
setCondition in interface IfStmtpublic ValueBox getConditionBox()
getConditionBox in interface IfStmtpublic Stmt getTarget()
getTarget in interface IfStmtpublic void setTarget(Unit target)
setTarget in interface IfStmtpublic UnitBox getTargetBox()
getTargetBox in interface IfStmtpublic java.util.List getUseBoxes()
Unit
getUseBoxes in interface UnitgetUseBoxes in class AbstractUnitpublic java.util.List getUnitBoxes()
Unit
getUnitBoxes in interface UnitgetUnitBoxes in class AbstractUnitpublic void apply(Switch sw)
Switchable
apply in interface Switchableapply in class AbstractUnit
public void convertToBaf(JimpleToBafContext context,
java.util.List out)
convertToBaf in interface ConvertToBafconvertToBaf in class AbstractStmtpublic boolean fallsThrough()
Unit
fallsThrough in interface Unitpublic boolean branches()
Unit
branches in interface Unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||