spring-framework / org.springframework.expression.spel.ast / VariableReference

VariableReference

open class VariableReference : SpelNodeImpl

Represents a variable reference, eg. #someVar. Note this is different to a *local* variable like $someVar

Author
Andy Clement

Since
3.0

Constructors

<init>

VariableReference(variableName: String, pos: Int)

Functions

generateCode

open fun generateCode(mv: MethodVisitor, cf: CodeFlow): Unit

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

getValueRef

open fun getValueRef(state: ExpressionState): ValueRef

isCompilable

open fun isCompilable(): Boolean

isWritable

open fun isWritable(expressionState: ExpressionState): Boolean

setValue

open fun setValue(state: ExpressionState, value: Any): Unit

toStringAST

open fun toStringAST(): String