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

MethodReference

open class MethodReference : SpelNodeImpl

Expression language AST node that represents a method reference.

Author
Andy Clement

Author
Juergen Hoeller

Since
3.0

Constructors

<init>

MethodReference(nullSafe: Boolean, methodName: String, pos: Int, vararg arguments: SpelNodeImpl)

Functions

generateCode

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

getName

fun getName(): String

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

isCompilable

open fun isCompilable(): Boolean

A method reference is compilable if it has been resolved to a reflectively accessible method and the child nodes (arguments to the method) are also compilable.

toStringAST

open fun toStringAST(): String