soot.dava.internal.AST
Class ASTMethodNode

java.lang.Object
  extended by soot.tagkit.AbstractHost
      extended by soot.AbstractUnit
          extended by soot.dava.internal.AST.ASTNode
              extended by soot.dava.internal.AST.ASTMethodNode
All Implemented Interfaces:
Serializable, Context, Host, Unit, Switchable

public class ASTMethodNode
extends ASTNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.dava.internal.AST.ASTNode
NEWLINE, subBodies, TAB
 
Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
ASTMethodNode(List<Object> body)
           
 
Method Summary
 void addToDontPrintLocalsList(Local toAdd)
           
 void apply(Analysis a)
           
 Object clone()
          Returns a deep clone of this object.
 DavaBody getDavaBody()
           
 ASTStatementSequenceNode getDeclarations()
           
 List getDeclaredLocals()
           
 void perform_Analysis(ASTAnalysis a)
           
 void printDeclarationsFollowedByBody(UnitPrinter up, List<Object> body)
           
 void removeDeclaredLocal(Local local)
           
 void replaceBody(List<Object> body)
           
 void setDavaBody(DavaBody bod)
           
 void setDeclarations(ASTStatementSequenceNode decl)
           
 void setDontPrintLocals(List<Local> list)
           
 void storeLocals(Body OrigBody)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
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

ASTMethodNode

public ASTMethodNode(List<Object> body)
Method Detail

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