Class JavadocComment

  • All Implemented Interfaces:
    net.sourceforge.pmd.reporting.Reportable

    public final class JavadocComment
    extends JavaComment
    A JavaComment that has Javadoc content.
    • Method Detail

      • getText

        public net.sourceforge.pmd.lang.document.Chars getText()
        Description copied from class: JavaComment
        Returns the full text of the comment.
        Overrides:
        getText in class JavaComment
      • getReportLocation

        public net.sourceforge.pmd.lang.document.FileLocation getReportLocation()
        Specified by:
        getReportLocation in interface net.sourceforge.pmd.reporting.Reportable
        Overrides:
        getReportLocation in class JavaComment
      • getOwner

        public @Nullable JavadocCommentOwner getOwner()
        Returns the owner of this comment. Null if this comment is misplaced.