Class AnnotationDescImpl.ElementValuePairImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private DocEnv env  
      private com.sun.tools.javac.code.Symbol.MethodSymbol meth  
      private com.sun.tools.javac.code.Attribute value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementValuePairImpl​(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.tools.javac.code.Attribute value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AnnotationTypeElementDoc element()
      Returns the annotation type element.
      java.lang.String toString()
      Returns a string representation of this pair of the form "name=value".
      AnnotationValue value()
      Returns the value associated with the annotation type element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • env

        private final DocEnv env
      • meth

        private final com.sun.tools.javac.code.Symbol.MethodSymbol meth
      • value

        private final com.sun.tools.javac.code.Attribute value
    • Constructor Detail

      • ElementValuePairImpl

        ElementValuePairImpl​(DocEnv env,
                             com.sun.tools.javac.code.Symbol.MethodSymbol meth,
                             com.sun.tools.javac.code.Attribute value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string representation of this pair of the form "name=value".
        Overrides:
        toString in class java.lang.Object