Class AnnotationTypeElementDocImpl

    • Constructor Detail

      • AnnotationTypeElementDocImpl

        public AnnotationTypeElementDocImpl​(DocEnv env,
                                            com.sun.tools.javac.code.Symbol.MethodSymbol sym)
        Deprecated.
      • AnnotationTypeElementDocImpl

        public AnnotationTypeElementDocImpl​(DocEnv env,
                                            com.sun.tools.javac.code.Symbol.MethodSymbol sym,
                                            com.sun.source.util.TreePath treePath)
        Deprecated.
    • Method Detail

      • isAnnotationTypeElement

        public boolean isAnnotationTypeElement()
        Deprecated.
        Returns true, as this is an annotation type element. (For legacy doclets, return false.)
        Specified by:
        isAnnotationTypeElement in interface Doc
        Overrides:
        isAnnotationTypeElement in class DocImpl
        Returns:
        true if it represents an annotation type element
      • isMethod

        public boolean isMethod()
        Deprecated.
        Returns false. Although this is technically a method, we don't consider it one for this purpose. (For legacy doclets, return true.)
        Specified by:
        isMethod in interface Doc
        Overrides:
        isMethod in class MethodDocImpl
        Returns:
        true
      • isAbstract

        public boolean isAbstract()
        Deprecated.
        Returns false, even though this is indeed abstract. See MethodDocImpl.isAbstract() for the (il)logic behind this.
        Specified by:
        isAbstract in interface MethodDoc
        Overrides:
        isAbstract in class MethodDocImpl
        Returns:
        true if this method is abstract
      • defaultValue

        public AnnotationValue defaultValue()
        Deprecated.
        Returns the default value of this element. Returns null if this element has no default.
        Specified by:
        defaultValue in interface AnnotationTypeElementDoc
        Returns:
        the default value of this element.