| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CodeBuilder | |
| pack-priv BlockCodeBuilderImpl | |
| pack-priv final BlockCodeBuilderImpl | |
| pack-priv final Label |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CodeBuilder. | catching(ClassDesc exceptionType, Consumer<CodeBuilder.
Implements java. Adds a catch block that catches an exception of the given type. |
| public void | catchingAll(Consumer<CodeBuilder.
Implements java. Adds a "catch" block that catches all exceptions. |
| public CodeBuilder. | catchingMulti(List<ClassDesc> exceptionTypes, Consumer<CodeBuilder.
Implements java. Adds a catch block that catches exceptions of the given types. |
| public void |
| b | back to summary |
|---|---|
| pack-priv final CodeBuilder b | |
| catchBlock | back to summary |
|---|---|
| pack-priv BlockCodeBuilderImpl catchBlock | |
| tryBlock | back to summary |
|---|---|
| pack-priv final BlockCodeBuilderImpl tryBlock | |
| tryCatchEnd | back to summary |
|---|---|
| pack-priv final Label tryCatchEnd | |
| CatchBuilderImpl | back to summary |
|---|---|
| public CatchBuilderImpl(CodeBuilder b, BlockCodeBuilderImpl tryBlock, Label tryCatchEnd) | |
| catching | back to summary |
|---|---|
| public CodeBuilder. Implements java. Doc from java. Adds a catch block that catches an exception of the given type. The caught exception will be on top of the operand stack when the catch block is entered.
The
If the type of exception is
| |
| catchingAll | back to summary |
|---|---|
| public void catchingAll(Consumer<CodeBuilder. Implements java. Doc from java. Adds a "catch" block that catches all exceptions.
The The caught exception will be on top of the operand stack when the catch block is entered.
| |
| catchingMulti | back to summary |
|---|---|
| public CodeBuilder. Implements java. Doc from java. Adds a catch block that catches exceptions of the given types. The caught exception will be on top of the operand stack when the catch block is entered.
The If list of exception types is empty then the catch block catches all exceptions.
| |
| finish | back to summary |
|---|---|
| public void finish() | |