Class TagInfo
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.checks.javadoc.utils.TagInfo
-
public final class TagInfo extends Object
Value object for storing data about a parsed tag.
-
-
Constructor Summary
Constructors Constructor Description TagInfo(String name, String value, LineColumn position)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Return name of tag.LineColumngetPosition()Return position of tag.StringgetValue()Return value of tag.
-
-
-
Constructor Detail
-
TagInfo
public TagInfo(String name, String value, LineColumn position)
Constructor.- Parameters:
name- The name of the tag.value- The value of the tag.position- The position of the tag in the comment.
-
-
Method Detail
-
getName
public String getName()
Return name of tag.- Returns:
- Name of the tag.
-
getValue
public String getValue()
Return value of tag.- Returns:
- Value of the tag.
-
getPosition
public LineColumn getPosition()
Return position of tag.- Returns:
- Value of the tag.
-
-