| Modifier and Type | Field and Description |
|---|---|
| private final Consumer |
| 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 | endLabel()
Implements java. Returns the label associated with the end of the current block. |
| public Label | startLabel()
Implements java. Returns the label associated with the beginning of the current block. |
| public CodeBuilder | with(CodeElement element)
Implements java. Integrates the member element into the structure being built. |
| consumer | back to summary |
|---|---|
| private final Consumer<CodeElement> consumer | |
| ChainedCodeBuilder | back to summary |
|---|---|
| public ChainedCodeBuilder(CodeBuilder downstream, Consumer<CodeElement> consumer) | |
| 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
| |
| 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
| |
| 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
| |
| with | back to summary |
|---|---|
| public CodeBuilder with(CodeElement element) Implements java. Doc from java. Integrates the member element into the structure being built.
| |