|
||||||||||
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 Unit
clone
in class AbstractUnit
protected java.lang.String toString(boolean isBrief, java.util.Map stmtToName, java.lang.String indentation)
AbstractUnit
toString
in class AbstractUnit
public java.lang.String toString()
AbstractUnit
toString
in interface Stmt
toString
in class AbstractUnit
public Value getCondition()
getCondition
in interface IfStmt
public void setCondition(Value condition)
setCondition
in interface IfStmt
public ValueBox getConditionBox()
getConditionBox
in interface IfStmt
public Stmt getTarget()
getTarget
in interface IfStmt
public void setTarget(Unit target)
setTarget
in interface IfStmt
public UnitBox getTargetBox()
getTargetBox
in interface IfStmt
public java.util.List getUseBoxes()
Unit
getUseBoxes
in interface Unit
getUseBoxes
in class AbstractUnit
public java.util.List getUnitBoxes()
Unit
getUnitBoxes
in interface Unit
getUnitBoxes
in class AbstractUnit
public void apply(Switch sw)
Switchable
apply
in interface Switchable
apply
in class AbstractUnit
public void convertToBaf(JimpleToBafContext context, java.util.List out)
convertToBaf
in interface ConvertToBaf
convertToBaf
in class AbstractStmt
public boolean fallsThrough()
Unit
fallsThrough
in interface Unit
public boolean branches()
Unit
branches
in interface Unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |