Package soot.jimple.internal
Class JInvokeStmt
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.jimple.internal.AbstractStmt
-
- soot.jimple.internal.JInvokeStmt
-
- All Implemented Interfaces:
Serializable,Context,ConvertToBaf,InvokeStmt,Stmt,Host,Unit,Switchable
- Direct Known Subclasses:
GInvokeStmt
public class JInvokeStmt extends AbstractStmt implements InvokeStmt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueBoxinvokeExprBox-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Modifier Constructor Description JInvokeStmt(Value c)protectedJInvokeStmt(ValueBox invokeExprBox)
-
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.booleancontainsInvokeExpr()voidconvertToBaf(JimpleToBafContext context, List<Unit> out)booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.InvokeExprgetInvokeExpr()ValueBoxgetInvokeExprBox()List<ValueBox>getUseBoxes()Returns a list of Boxes containing Values used in this Unit.voidsetInvokeExpr(Value invokeExpr)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.jimple.internal.AbstractStmt
containsArrayRef, containsFieldRef, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox
-
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, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Field Detail
-
invokeExprBox
protected final ValueBox invokeExprBox
-
-
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
-
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExprin interfaceStmt- Overrides:
containsInvokeExprin classAbstractStmt
-
toString
public void toString(UnitPrinter up)
-
setInvokeExpr
public void setInvokeExpr(Value invokeExpr)
- Specified by:
setInvokeExprin interfaceInvokeStmt
-
getInvokeExpr
public InvokeExpr getInvokeExpr()
- Specified by:
getInvokeExprin interfaceInvokeStmt- Specified by:
getInvokeExprin interfaceStmt- Overrides:
getInvokeExprin classAbstractStmt
-
getInvokeExprBox
public ValueBox getInvokeExprBox()
- Specified by:
getInvokeExprBoxin interfaceInvokeStmt- Specified by:
getInvokeExprBoxin interfaceStmt- Overrides:
getInvokeExprBoxin classAbstractStmt
-
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
-
convertToBaf
public void convertToBaf(JimpleToBafContext context, List<Unit> out)
- Specified by:
convertToBafin interfaceConvertToBaf- Overrides:
convertToBafin classAbstractStmt
-
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
-
-