org.springframework.expression.spel.ast

Class InlineMap

  • All Implemented Interfaces:
    Opcodes, SpelNode


    public class InlineMap
    extends SpelNodeImpl
    Represent a map in an expression, e.g. '{name:'foo',age:12}'
    Since:
    4.1
    Author:
    Andy Clement
    • Constructor Detail

      • InlineMap

        public InlineMap(int pos,
                         SpelNodeImpl... args)
    • Method Detail

      • toStringAST

        public java.lang.String toStringAST()
        Description copied from interface: SpelNode
        Return the string form the this AST node.
        Returns:
        the string form
      • isConstant

        public boolean isConstant()
        Return whether this list is a constant value.
      • getConstantValue

        @Nullable
        public java.util.Map<java.lang.Object,java.lang.Object> getConstantValue()