Class DecoratedElement<E extends Element>

    • Method Detail

      • isPublic

        public boolean isPublic()
        Whether the declaration is public.
        Returns:
        Whether the declaration is public.
      • isProtected

        public boolean isProtected()
        Whether the declaration is protected.
        Returns:
        Whether the declaration is protected.
      • isPrivate

        public boolean isPrivate()
        Whether the declaration is private.
        Returns:
        Whether the declaration is private.
      • isAbstract

        public boolean isAbstract()
        Whether the declaration is abstract.
        Returns:
        Whether the declaration is abstract.
      • isStatic

        public boolean isStatic()
        Whether the declaration is static.
        Returns:
        Whether the declaration is static.
      • isFinal

        public boolean isFinal()
        Whether the declaration is final.
        Returns:
        Whether the declaration is final.
      • isTransient

        public boolean isTransient()
        Whether the declaration is transient.
        Returns:
        Whether the declaration is transient.
      • isVolatile

        public boolean isVolatile()
        Whether the declaration is volatile.
        Returns:
        Whether the declaration is volatile.
      • isSynchronized

        public boolean isSynchronized()
        Whether the declaration is synchronized.
        Returns:
        Whether the declaration is synchronized.
      • isNative

        public boolean isNative()
        Whether the declaration is native.
        Returns:
        Whether the declaration is native.
      • isStrictfp

        public boolean isStrictfp()
        Whether the declaration is strictfp.
        Returns:
        Whether the declaration is strictfp.
      • getDocComment

        public String getDocComment()
      • getJavaDoc

        public final JavaDoc getJavaDoc()
        The javadoc for this declaration with the default tag handler.
        Returns:
        The javadoc for this declaration with the default tag handler.
      • getJavaDoc

        public final JavaDoc getJavaDoc​(JavaDocTagHandler tagHandler)
        Get the JavaDoc for this element for the given tag handler.
        Parameters:
        tagHandler - The tag handler.
        Returns:
        The javadoc.
      • getDocValue

        public final String getDocValue()
        The value of the java doc, before the block tags.
        Returns:
        The value of the java doc, before the block tags, or null if the value is the empty string.
      • getDocValue

        public final String getDocValue​(JavaDocTagHandler tagHandler)
        The value of the java doc, before the block tags.
        Parameters:
        tagHandler - The tag handler.
        Returns:
        The value of the java doc, before the block tags, or null if the value is the empty string.
      • getAnnotations

        public Map<String,​AnnotationMirror> getAnnotations()
        A map of annotations for this declaration.
        Returns:
        A map of annotations for this declaration.
      • getSimpleNameString

        public String getSimpleNameString()
      • getDelegate

        public E getDelegate()