public class ExitableBlock extends java.lang.Object
CodeAttr code = ...; Type retType = ...; // a Type or null ExitableBlock block = code.startExitableBlock(retType, true); ... ... block.exit() ...; // conditionally ... code.endExitableBlock();
block.exit() compiles to a transfer to the end
block, executing any
within the block that surround the call to
ExitableBlock should leave a result on
the stack, then specify the type of the result as the
The block itself must push a result before calling
is false), and must also push a result before
|Modifier and Type||Method and Description|
Exit this surrounding block, executing finally blocks as needed.
If an exit is simple, return the label for block end.
public void exit()
public Label exitIsGoto()