public class ASTMethodNode extends ASTNode
col, line
Constructor and Description |
---|
ASTMethodNode(List<Object> body) |
Modifier and Type | Method and Description |
---|---|
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) |
body_toString, body_toString, branches, fallsThrough, get_SubBodies, perform_AnalysisOnSubBodies
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public ASTStatementSequenceNode getDeclarations()
public void setDeclarations(ASTStatementSequenceNode decl)
public void setDavaBody(DavaBody bod)
public DavaBody getDavaBody()
public void storeLocals(Body OrigBody)
public List getDeclaredLocals()
public void removeDeclaredLocal(Local local)
public Object clone()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public void addToDontPrintLocalsList(Local toAdd)
public void perform_Analysis(ASTAnalysis a)
perform_Analysis
in class ASTNode
public void toString(UnitPrinter up)
public void printDeclarationsFollowedByBody(UnitPrinter up, List<Object> body)