| Modifier and Type | Field and Description |
|---|---|
| private final TypedValue |
| 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 TypedValue | getLiteralValue()
Implements abstract org. |
| public boolean | isCompilable()
Overrides org. |
| value | back to summary |
|---|---|
| private final TypedValue value | |
| IntLiteral | back to summary |
|---|---|
| public IntLiteral(String payload, int startPos, int endPos, int 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 TypedValue 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.
| |