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.
  • Field Details

    • name

      private final String name
      Name of the tag ("link", "see", etc).
    • value

      private final String value
      Value of the tag.
    • position

      private final LineColumn position
      Position of the tag in the given comment.
  • Constructor Details

    • 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 Details

    • 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

      Return position of tag.
      Returns:
      Value of the tag.