open class ConstructorReference : SpelNodeImpl
Represents the invocation of a constructor. Either a constructor on a regular type or construction of an array. When an array is constructed, an initializer can be specified.
Examples: new String('hello world') new int[]{1,2,3,4} new int[3] new int[3]{1,2,3}
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
ConstructorReference(pos: Int, vararg arguments: SpelNodeImpl)ConstructorReference(pos: Int, dimensions: Array<SpelNodeImpl>, vararg arguments: SpelNodeImpl)
Create a constructor reference. The first argument is the type, the rest are the parameters to the constructor call |
open fun generateCode(mv: MethodVisitor, cf: CodeFlow): Unit |
|
open fun getValueInternal(state: ExpressionState): TypedValue
Implements getValue() - delegating to the code for building an array or a simple type. |
|
open fun isCompilable(): Boolean |
|
open fun toStringAST(): String |