Package gnu.expr

Class Literal


  • public class Literal
    extends Object
    A Literal contains compile-time information about a constant.
    • Field Detail

      • field

        public Field field
      • type

        public Type type
      • flags

        public int flags
      • nullLiteral

        public static final Literal nullLiteral
    • Constructor Detail

      • Literal

        public Literal​(Object value,
                       LitTable litTable)
        Create a new Literal, where comp must be in immediate mode.
      • Literal

        public Literal​(Object value,
                       Field field,
                       LitTable litTable)
        Create a new Literal, for a value available from a static field. The field must be static and already exist.
    • Method Detail

      • getValue

        public final Object getValue()