Class JavadocComment
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.ast.JavaComment
-
- net.sourceforge.pmd.lang.java.ast.JavadocComment
-
- All Implemented Interfaces:
Reportable
public final class JavadocComment extends JavaComment
AJavaComment
that has Javadoc content.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable JavadocCommentOwner
getOwner()
Returns the owner of this comment.-
Methods inherited from class net.sourceforge.pmd.lang.java.ast.JavaComment
equals, getFilteredLines, getFilteredLines, getLeadingComments, getReportLocation, getText, getToken, hashCode, hasJavadocContent, isComment, isMarkupWord, isSingleLine, removeCommentMarkup
-
-
-
-
Method Detail
-
getOwner
public @Nullable JavadocCommentOwner getOwner()
Returns the owner of this comment. Null if this comment is misplaced.
-
-