Class Const.CharValue

  • All Implemented Interfaces:
    javax.lang.model.element.AnnotationValue
    Enclosing class:
    Const

    public static class Const.CharValue
    extends Const.Value
    A char literal value.
    • Constructor Detail

      • CharValue

        public CharValue​(char value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface javax.lang.model.element.AnnotationValue
        Specified by:
        toString in class Const
      • accept

        public <R,​P> R accept​(javax.lang.model.element.AnnotationValueVisitor<R,​P> v,
                                    P p)
      • value

        public char value()
      • getValue

        public java.lang.Object getValue()
      • 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