Class StringAnnotationValue

  • All Implemented Interfaces:
    javax.lang.model.element.AnnotationValue

    @Immutable
    public class StringAnnotationValue
    extends java.lang.Object
    implements javax.lang.model.element.AnnotationValue
    AnnotationValue for String type
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    AnnotationValue
    • Constructor Summary

      Constructors 
      Constructor Description
      StringAnnotationValue​(java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R,​P>
      R
      accept​(javax.lang.model.element.AnnotationValueVisitor<R,​P> v, P p)  
      java.lang.Object getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.lang.model.element.AnnotationValue

        toString
    • Constructor Detail

      • StringAnnotationValue

        public StringAnnotationValue​(java.lang.String value)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface javax.lang.model.element.AnnotationValue
      • accept

        public <R,​P> R accept​(javax.lang.model.element.AnnotationValueVisitor<R,​P> v,
                                    P p)
        Specified by:
        accept in interface javax.lang.model.element.AnnotationValue