Package soot.dava.internal.javaRep
Class DVariableDeclarationStmt
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.dava.internal.javaRep.DVariableDeclarationStmt
-
- All Implemented Interfaces:
Serializable,Context,Stmt,Host,Unit,Switchable
public class DVariableDeclarationStmt extends AbstractUnit implements Stmt
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Constructor Description DVariableDeclarationStmt(Type decType, DavaBody davaBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocal(Local add)booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.Objectclone()Returns a deep clone of this object.booleancontainsArrayRef()booleancontainsFieldRef()booleancontainsInvokeExpr()booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.ArrayRefgetArrayRef()ValueBoxgetArrayRefBox()ListgetDeclarations()FieldRefgetFieldRef()ValueBoxgetFieldRefBox()InvokeExprgetInvokeExpr()ValueBoxgetInvokeExprBox()TypegetType()booleanisOfType(Type type)voidremoveLocal(Local remove)StringtoString()voidtoString(UnitPrinter up)-
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, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, 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, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from interface soot.util.Switchable
apply
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Method Detail
-
getDeclarations
public List getDeclarations()
-
addLocal
public void addLocal(Local add)
-
removeLocal
public void removeLocal(Local remove)
-
getType
public Type getType()
-
isOfType
public boolean isOfType(Type type)
-
clone
public Object clone()
Description copied from class:AbstractUnitReturns a deep clone of this object.- Specified by:
clonein interfaceUnit- Specified by:
clonein classAbstractUnit
-
toString
public void toString(UnitPrinter up)
-
fallsThrough
public boolean fallsThrough()
Description copied from interface:UnitReturns true if execution after this statement may continue at the following statement. GotoStmt will return false but IfStmt will return true.- Specified by:
fallsThroughin interfaceUnit
-
branches
public boolean branches()
Description copied from interface:UnitReturns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.
-
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExprin interfaceStmt
-
getInvokeExpr
public InvokeExpr getInvokeExpr()
- Specified by:
getInvokeExprin interfaceStmt
-
getInvokeExprBox
public ValueBox getInvokeExprBox()
- Specified by:
getInvokeExprBoxin interfaceStmt
-
containsArrayRef
public boolean containsArrayRef()
- Specified by:
containsArrayRefin interfaceStmt
-
getArrayRef
public ArrayRef getArrayRef()
- Specified by:
getArrayRefin interfaceStmt
-
getArrayRefBox
public ValueBox getArrayRefBox()
- Specified by:
getArrayRefBoxin interfaceStmt
-
containsFieldRef
public boolean containsFieldRef()
- Specified by:
containsFieldRefin interfaceStmt
-
getFieldRef
public FieldRef getFieldRef()
- Specified by:
getFieldRefin interfaceStmt
-
getFieldRefBox
public ValueBox getFieldRefBox()
- Specified by:
getFieldRefBoxin interfaceStmt
-
-