Class Const.ArrayInitValue

  • Enclosing class:
    Const

    public static class Const.ArrayInitValue
    extends Const
    A constant array literal (e.g. in an annotation).
    • Constructor Detail

      • ArrayInitValue

        public ArrayInitValue​(com.google.common.collect.ImmutableList<Const> elements)
    • Method Detail

      • kind

        public Const.Kind kind()
        Description copied from class: Const
        The constant kind.
        Specified by:
        kind in class Const
      • elements

        public com.google.common.collect.ImmutableList<Const> elements()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Const
      • equals

        public boolean equals​(@Nullable java.lang.Object obj)
        Specified by:
        equals in class Const
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class Const