| Modifier and Type | Field and Description |
|---|---|
| private final TypedValue |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private TypedValue | computeConstantValue()
If all the components of the list are constants, or lists that themselves contain constants, then a constant list can be built to represent this node. |
| pack-priv void | generateClinitCode(String clazzname, String constantFieldName, MethodVisitor mv, CodeFlow codeflow, boolean nested)
|
| 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 codeflow)Overrides org. |
| public List | |
| public TypedValue | getValueInternal(ExpressionState expressionState)
Implements abstract org. |
| public boolean | isCompilable()
Overrides org. |
| public boolean | |
| public String | toStringAST()
Implements org. |
| constant | back to summary |
|---|---|
| private final TypedValue constant
| |
| InlineList | back to summary |
|---|---|
| public InlineList(int startPos, int endPos, SpelNodeImpl... args) | |
| computeConstantValue | back to summary |
|---|---|
| private TypedValue computeConstantValue() If all the components of the list are constants, or lists that themselves contain constants, then a constant list can be built to represent this node. This will speed up later getValue calls and reduce the amount of garbage created.
| |
| generateClinitCode | back to summary |
|---|---|
| pack-priv void generateClinitCode(String clazzname, String constantFieldName, MethodVisitor mv, CodeFlow codeflow, boolean nested) | |
| generateCode | back to summary |
|---|---|
| public void generateCode(MethodVisitor mv, CodeFlow codeflow) 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.
| |
| getConstantValue | back to summary |
|---|---|
public List
| |
| getValueInternal | back to summary |
|---|---|
| public TypedValue getValueInternal(ExpressionState expressionState) throws EvaluationException 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.
| |
| isConstant | back to summary |
|---|---|
| public boolean isConstant() Return whether this list is a constant value. | |
| toStringAST | back to summary |
|---|---|
| public String toStringAST() Implements org. Doc from org. Return the string form of this AST node. | |