| Modifier and Type | Field and Description |
|---|---|
| private final Label | |
| private final Label | |
| private boolean | |
| private boolean | |
| private final Label | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | allocateLocal(TypeKind typeKind)
Implements java. Returns the local variable slot of a fresh local variable. |
| public Label | breakLabel()
Implements java. Returns the label locating where control is passed back to the parent block. |
| public void | |
| public Label | endLabel()
Implements java. Returns the label associated with the end of the current block. |
| public boolean | |
| public boolean | |
| public void | |
| public Label | startLabel()
Implements java. Returns the label associated with the beginning of the current block. |
| private int | |
| public CodeBuilder | with(CodeElement element)
Implements java. Integrates the member element into the structure being built. |
| breakLabel | back to summary |
|---|---|
| private final Label breakLabel | |
| endLabel | back to summary |
|---|---|
| private final Label endLabel | |
| hasInstructions | back to summary |
|---|---|
| private boolean hasInstructions | |
| reachable | back to summary |
|---|---|
| private boolean reachable | |
| startLabel | back to summary |
|---|---|
| private final Label startLabel | |
| terminalMaxLocals | back to summary |
|---|---|
| private int terminalMaxLocals | |
| topLocal | back to summary |
|---|---|
| private int topLocal | |
| BlockCodeBuilderImpl | back to summary |
|---|---|
| public BlockCodeBuilderImpl(CodeBuilder parent, Label breakLabel) | |
| allocateLocal | back to summary |
|---|---|
| public int allocateLocal(TypeKind typeKind) Implements java. Doc from java. Returns the local variable slot of a fresh local variable. This method
makes reasonable efforts to determine which slots are in use and which
are not. When transforming a method, fresh locals begin at the
If the current code builder is a
| |
| breakLabel | back to summary |
|---|---|
| public Label breakLabel() Implements java. Doc from java. Returns the label locating where control is passed back to the parent block. A branch to this label "break"'s out of the current block. If the last instruction in this block does not lead to the break label, Class-File API may append instructions to target the "break" label to the built block.
| |
| end | back to summary |
|---|---|
| public void end() | |
| endLabel | back to summary |
|---|---|
| public Label endLabel() Implements java. Doc from java. Returns the label associated with the end of the current block.
If this builder is not a "block" builder, such as those provided by
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| reachable | back to summary |
|---|---|
| public boolean reachable() | |
| start | back to summary |
|---|---|
| public void start() | |
| startLabel | back to summary |
|---|---|
| public Label startLabel() Implements java. Doc from java. Returns the label associated with the beginning of the current block.
If this builder is not a "block" builder, such as those provided by
| |
| topLocal | back to summary |
|---|---|
| private int topLocal(CodeBuilder parent) | |
| with | back to summary |
|---|---|
| public CodeBuilder with(CodeElement element) Implements java. Doc from java. Integrates the member element into the structure being built.
| |