public class JGotoStmt extends AbstractStmt implements GotoStmt
col, line
Constructor and Description |
---|
JGotoStmt(Unit target) |
JGotoStmt(UnitBox box) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Used to implement the Switchable construct.
|
boolean |
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.
|
Object |
clone()
Returns a deep clone of this object.
|
void |
convertToBaf(JimpleToBafContext context,
List<Unit> out) |
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement.
|
Unit |
getTarget() |
UnitBox |
getTargetBox() |
List<UnitBox> |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
|
void |
setTarget(Unit target) |
String |
toString() |
void |
toString(UnitPrinter up) |
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public Object clone()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public void toString(UnitPrinter up)
public UnitBox getTargetBox()
getTargetBox
in interface GotoStmt
public List<UnitBox> getUnitBoxes()
AbstractUnit
getUnitBoxes
in interface Unit
getUnitBoxes
in class AbstractUnit
public void apply(Switch sw)
AbstractUnit
apply
in interface Switchable
apply
in class AbstractUnit
public void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf
in interface ConvertToBaf
convertToBaf
in class AbstractStmt
public boolean fallsThrough()
Unit
fallsThrough
in interface Unit