Package soot.jimple.internal
Class JRetStmt
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.jimple.internal.AbstractStmt
-
- soot.jimple.internal.JRetStmt
-
- All Implemented Interfaces:
Serializable,Context,ConvertToBaf,RetStmt,Stmt,Host,Unit,Switchable
public class JRetStmt extends AbstractStmt implements RetStmt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueBoxstmtAddressBox-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Used to implement the Switchable construct.booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.Objectclone()Returns a deep clone of this object.booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.ValuegetStmtAddress()ValueBoxgetStmtAddressBox()List<ValueBox>getUseBoxes()Returns a list of Boxes containing Values used in this Unit.voidsetStmtAddress(Value stmtAddress)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.jimple.internal.AbstractStmt
containsArrayRef, containsFieldRef, containsInvokeExpr, convertToBaf, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, 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.jimple.Stmt
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Field Detail
-
stmtAddressBox
protected final ValueBox stmtAddressBox
-
-
Method Detail
-
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)
-
getStmtAddress
public Value getStmtAddress()
- Specified by:
getStmtAddressin interfaceRetStmt
-
getStmtAddressBox
public ValueBox getStmtAddressBox()
- Specified by:
getStmtAddressBoxin interfaceRetStmt
-
setStmtAddress
public void setStmtAddress(Value stmtAddress)
- Specified by:
setStmtAddressin interfaceRetStmt
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Values used in this Unit. The list of boxes is dynamically updated as the structure changes. Note that they are returned in usual evaluation order. (this is important for aggregation)- Specified by:
getUseBoxesin interfaceUnit- Overrides:
getUseBoxesin classAbstractUnit
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnitUsed to implement the Switchable construct.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classAbstractUnit
-
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
-
-