Interface MutableMemberDeclaration

    • Method Detail

      • setDocComment

        void setDocComment​(java.lang.String docComment)
        Sets the JavaDoc comment for this member
        Parameters:
        docComment -
      • setVisibility

        void setVisibility​(Visibility visibility)
        Sets the Visibility of this member.
        Parameters:
        visibility -
      • setDeprecated

        void setDeprecated​(boolean deprecated)
        Set the deprecated flag of this member. It will add or remove the Deprecated annotation if appropriate.
        Parameters:
        deprecated - true if this member should be marked as deprecated.
        Since:
        2.7