public class JReturnStmt extends AbstractStmt implements ReturnStmt
emptyList| Modifier | Constructor and Description |
|---|---|
|
JReturnStmt(Value returnValue) |
protected |
JReturnStmt(ValueBox returnValueBox) |
| 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.
|
java.lang.Object |
clone()
Returns a deep clone of this object.
|
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement.
|
Value |
getOp() |
ValueBox |
getOpBox() |
java.util.List |
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit.
|
void |
setOp(Value returnValue) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBoxaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBoxaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTagpublic JReturnStmt(Value returnValue)
protected JReturnStmt(ValueBox returnValueBox)
public java.lang.Object clone()
AbstractUnitclone in interface Unitclone in class AbstractUnitpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public ValueBox getOpBox()
getOpBox in interface ReturnStmtpublic void setOp(Value returnValue)
setOp in interface ReturnStmtpublic Value getOp()
getOp in interface ReturnStmtpublic java.util.List getUseBoxes()
AbstractUnitgetUseBoxes in interface UnitgetUseBoxes in class AbstractUnitpublic void apply(Switch sw)
AbstractUnitapply in interface Switchableapply in class AbstractUnitpublic boolean fallsThrough()
UnitfallsThrough in interface UnitCopyright © 2012-2019 RoboVM AB. All Rights Reserved.