TRUE and FALSE.
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanTypedValue |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | generateCode(MethodVisitor
the ASM MethodVisitor into which code should be generated mv, CodeFlow a context object with info about what is on the stack cf)Overrides org. |
| public BooleanTypedValue | getLiteralValue()
Implements abstract org. |
| public boolean | isCompilable()
Overrides org. |
| value | back to summary |
|---|---|
| private final BooleanTypedValue value | |
| BooleanLiteral | back to summary |
|---|---|
| public BooleanLiteral(String payload, int startPos, int endPos, boolean value) | |
| generateCode | back to summary |
|---|---|
| public void generateCode(MethodVisitor mv, CodeFlow cf) Overrides org. Doc from org. Generate the bytecode for this node into the supplied visitor. Context info about the current expression being compiled is available in the codeflow object, e.g. including information about the type of the object currently on the stack.
| |
| getLiteralValue | back to summary |
|---|---|
| public BooleanTypedValue getLiteralValue() Implements abstract org.
| |
| isCompilable | back to summary |
|---|---|
| public boolean isCompilable() Overrides org. Doc from org. Check whether a node can be compiled to bytecode. The reasoning in each node may be different but will typically involve checking whether the exit type descriptor of the node is known and any relevant child nodes are compilable.
| |