Class BlockTagUtil
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.javadoc.utils.BlockTagUtil
Tools for parsing block tags from a Javadoc comment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractBlockTags
(String... lines) Extract the block tags from a Javadoc comment.
-
Field Details
-
BLOCK_TAG_PATTERN_FIRST_LINE
Block tag pattern for a first line. -
BLOCK_TAG_PATTERN
Block tag pattern. -
JAVADOC_CLOSING_TAG
Closing tag.- See Also:
-
-
Constructor Details
-
BlockTagUtil
private BlockTagUtil()Prevent instantiation.
-
-
Method Details
-
extractBlockTags
Extract the block tags from a Javadoc comment.- Parameters:
lines
- The text of the comment, as separate lines.- Returns:
- The tags extracted from the block.
-