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

PropertyOrFieldReference

open class PropertyOrFieldReference : SpelNodeImpl

Represents a simple property or field reference.

Author
Andy Clement

Author
Juergen Hoeller

Author
Clark Duplichien

Since
3.0

Constructors

<init>

PropertyOrFieldReference(nullSafe: Boolean, propertyOrFieldName: String, pos: Int)

Functions

generateCode

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

getName

open fun getName(): String

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

getValueRef

open fun getValueRef(state: ExpressionState): ValueRef

isCompilable

open fun isCompilable(): Boolean

isNullSafe

open fun isNullSafe(): Boolean

isWritable

open fun isWritable(state: ExpressionState): Boolean

isWritableProperty

open fun isWritableProperty(name: String, contextObject: TypedValue, evalContext: EvaluationContext): Boolean

setValue

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

toStringAST

open fun toStringAST(): String