soot.dava.internal.AST
Class ASTMethodNode
java.lang.Object
soot.tagkit.AbstractHost
soot.AbstractUnit
soot.dava.internal.AST.ASTNode
soot.dava.internal.AST.ASTMethodNode
- All Implemented Interfaces:
- Serializable, Context, Host, Unit, Switchable
public class ASTMethodNode
- extends ASTNode
- See Also:
- Serialized Form
ASTMethodNode
public ASTMethodNode(List<Object> body)
getDeclarations
public ASTStatementSequenceNode getDeclarations()
setDeclarations
public void setDeclarations(ASTStatementSequenceNode decl)
setDavaBody
public void setDavaBody(DavaBody bod)
getDavaBody
public DavaBody getDavaBody()
storeLocals
public void storeLocals(Body OrigBody)
getDeclaredLocals
public List getDeclaredLocals()
removeDeclaredLocal
public void removeDeclaredLocal(Local local)
replaceBody
public void replaceBody(List<Object> body)
clone
public Object clone()
- Description copied from class:
AbstractUnit
- Returns a deep clone of this object.
- Specified by:
clone
in interface Unit
- Specified by:
clone
in class AbstractUnit
setDontPrintLocals
public void setDontPrintLocals(List<Local> list)
addToDontPrintLocalsList
public void addToDontPrintLocalsList(Local toAdd)
perform_Analysis
public void perform_Analysis(ASTAnalysis a)
- Specified by:
perform_Analysis
in class ASTNode
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface Unit
- Specified by:
toString
in class ASTNode
printDeclarationsFollowedByBody
public void printDeclarationsFollowedByBody(UnitPrinter up,
List<Object> body)
toString
public String toString()
- Overrides:
toString
in class Object
apply
public void apply(Analysis a)
- Overrides:
apply
in class ASTNode