Class AnnotationValueImpl

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

    class AnnotationValueImpl
    extends java.lang.Object
    implements javax.lang.model.element.AnnotationValue
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationValueImpl​(java.lang.Object 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)  
      boolean equals​(java.lang.Object obj)  
      java.lang.Object getValue()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

        toString
    • Field Detail

      • value

        private java.lang.Object value
    • Constructor Detail

      • AnnotationValueImpl

        public AnnotationValueImpl​(java.lang.Object 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object