public class DVariableDeclarationStmt extends AbstractUnit implements Stmt
col, line, mTagList| Constructor and Description |
|---|
DVariableDeclarationStmt(Type decType,
DavaBody davaBody) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocal(Local add) |
boolean |
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.
|
java.lang.Object |
clone()
Returns a deep clone of this object.
|
boolean |
containsArrayRef() |
boolean |
containsFieldRef() |
boolean |
containsInvokeExpr() |
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement.
|
ArrayRef |
getArrayRef() |
ValueBox |
getArrayRefBox() |
java.util.List |
getDeclarations() |
FieldRef |
getFieldRef() |
ValueBox |
getFieldRefBox() |
InvokeExpr |
getInvokeExpr() |
ValueBox |
getInvokeExprBox() |
Type |
getType() |
boolean |
isOfType(Type type) |
void |
removeLocal(Local remove) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisapplyaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic java.util.List getDeclarations()
public void addLocal(Local add)
public void removeLocal(Local remove)
public Type getType()
public boolean isOfType(Type type)
public java.lang.Object clone()
AbstractUnitclone in interface Unitclone in class AbstractUnitpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public boolean fallsThrough()
UnitfallsThrough in interface Unitpublic boolean branches()
Unitpublic boolean containsInvokeExpr()
containsInvokeExpr in interface Stmtpublic InvokeExpr getInvokeExpr()
getInvokeExpr in interface Stmtpublic ValueBox getInvokeExprBox()
getInvokeExprBox in interface Stmtpublic boolean containsArrayRef()
containsArrayRef in interface Stmtpublic ArrayRef getArrayRef()
getArrayRef in interface Stmtpublic ValueBox getArrayRefBox()
getArrayRefBox in interface Stmtpublic boolean containsFieldRef()
containsFieldRef in interface Stmtpublic FieldRef getFieldRef()
getFieldRef in interface Stmtpublic ValueBox getFieldRefBox()
getFieldRefBox in interface Stmt