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, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
apply
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public 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()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public boolean fallsThrough()
Unit
fallsThrough
in interface Unit
public boolean branches()
Unit
public boolean containsInvokeExpr()
containsInvokeExpr
in interface Stmt
public InvokeExpr getInvokeExpr()
getInvokeExpr
in interface Stmt
public ValueBox getInvokeExprBox()
getInvokeExprBox
in interface Stmt
public boolean containsArrayRef()
containsArrayRef
in interface Stmt
public ArrayRef getArrayRef()
getArrayRef
in interface Stmt
public ValueBox getArrayRefBox()
getArrayRefBox
in interface Stmt
public boolean containsFieldRef()
containsFieldRef
in interface Stmt
public FieldRef getFieldRef()
getFieldRef
in interface Stmt
public ValueBox getFieldRefBox()
getFieldRefBox
in interface Stmt