Class InlineTagUtil
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.checks.javadoc.utils.InlineTagUtil
-
public final class InlineTagUtil extends java.lang.ObjectTools for extracting inline tags from Javadoc comments.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<TagInfo>extractInlineTags(java.lang.String... lines)Extract inline Javadoc tags from the given comment.
-
-
-
Method Detail
-
extractInlineTags
public static java.util.List<TagInfo> extractInlineTags(java.lang.String... lines)
Extract inline Javadoc tags from the given comment.- Parameters:
lines- The Javadoc comment (as lines).- Returns:
- The extracted inline Javadoc tags.
- Throws:
java.lang.IllegalArgumentException- when comment lines contain newlines
-
-