Package soot.jimple.internal
Class JGotoStmt
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.jimple.internal.AbstractStmt
-
- soot.jimple.internal.JGotoStmt
-
- All Implemented Interfaces:
Serializable,Context,BranchableStmt,ConvertToBaf,GotoStmt,Stmt,Host,Unit,Switchable
public class JGotoStmt extends AbstractStmt implements GotoStmt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected UnitBoxtargetBoxprotected List<UnitBox>targetBoxes-
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.voidconvertToBaf(JimpleToBafContext context, List<Unit> out)booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.UnitgetTarget()UnitBoxgetTargetBox()List<UnitBox>getUnitBoxes()Returns a list of Boxes containing Units defined in this Unit; typically branch targets.voidsetTarget(Unit target)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.jimple.internal.AbstractStmt
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, 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.jimple.Stmt
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
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)
-
getTarget
public Unit getTarget()
- Specified by:
getTargetin interfaceBranchableStmt- Specified by:
getTargetin interfaceGotoStmt
-
setTarget
public void setTarget(Unit target)
- Specified by:
setTargetin interfaceBranchableStmt- Specified by:
setTargetin interfaceGotoStmt
-
getTargetBox
public UnitBox getTargetBox()
- Specified by:
getTargetBoxin interfaceBranchableStmt- Specified by:
getTargetBoxin interfaceGotoStmt
-
getUnitBoxes
public List<UnitBox> getUnitBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Units defined in this Unit; typically branch targets. The list of boxes is dynamically updated as the structure changes.- Specified by:
getUnitBoxesin interfaceUnit- Overrides:
getUnitBoxesin 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
-
-