|
||||||||||
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.dava.internal.AST.ASTNode soot.dava.internal.AST.ASTLabeledNode soot.dava.internal.AST.ASTControlFlowNode soot.dava.internal.AST.ASTIfElseNode
public class ASTIfElseNode
Field Summary |
---|
Fields inherited from class soot.dava.internal.AST.ASTNode |
---|
NEWLINE, subBodies, TAB |
Fields inherited from class soot.AbstractUnit |
---|
emptyList |
Constructor Summary | |
---|---|
ASTIfElseNode(SETNodeLabel label,
ASTCondition condition,
List<Object> ifBody,
List<Object> elseBody)
|
|
ASTIfElseNode(SETNodeLabel label,
ConditionExpr condition,
List<Object> ifBody,
List<Object> elseBody)
|
Method Summary | |
---|---|
void |
apply(Analysis a)
|
Object |
clone()
Returns a deep clone of this object. |
List<Object> |
getElseBody()
|
List<Object> |
getIfBody()
|
void |
replace(SETNodeLabel newLabel,
ASTCondition newCond,
List<Object> newBody,
List<Object> bodyTwo)
|
void |
replaceBody(List<Object> ifBody,
List<Object> elseBody)
|
void |
replaceElseBody(List<Object> elseBody)
|
String |
toString()
|
void |
toString(UnitPrinter up)
|
Methods inherited from class soot.dava.internal.AST.ASTControlFlowNode |
---|
get_Condition, perform_Analysis, set_Condition |
Methods inherited from class soot.dava.internal.AST.ASTLabeledNode |
---|
get_Label, label_toString, label_toString, set_Label |
Methods inherited from class soot.dava.internal.AST.ASTNode |
---|
body_toString, body_toString, branches, fallsThrough, get_SubBodies, perform_AnalysisOnSubBodies |
Methods inherited from class soot.AbstractUnit |
---|
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, 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.tagkit.Host |
---|
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag |
Constructor Detail |
---|
public ASTIfElseNode(SETNodeLabel label, ConditionExpr condition, List<Object> ifBody, List<Object> elseBody)
public ASTIfElseNode(SETNodeLabel label, ASTCondition condition, List<Object> ifBody, List<Object> elseBody)
Method Detail |
---|
public void replace(SETNodeLabel newLabel, ASTCondition newCond, List<Object> newBody, List<Object> bodyTwo)
public void replaceBody(List<Object> ifBody, List<Object> elseBody)
public void replaceElseBody(List<Object> elseBody)
public List<Object> getIfBody()
public List<Object> getElseBody()
public Object clone()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public void toString(UnitPrinter up)
toString
in interface Unit
toString
in class ASTNode
public String toString()
toString
in class Object
public void apply(Analysis a)
apply
in class ASTNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |