open class Elvis : SpelNodeImpl
Represents the elvis operator ?:. For an expression "a?:b" if a is not null, the value of the expression is "a", if a is null then the value of the expression is "b".
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
Elvis(pos: Int, vararg args: SpelNodeImpl) |
open fun generateCode(mv: MethodVisitor, cf: CodeFlow): Unit |
|
open fun getValueInternal(state: ExpressionState): TypedValue
Evaluate the condition and if not null, return it. If it is null, return the other value. |
|
open fun isCompilable(): Boolean |
|
open fun toStringAST(): String |