Class JavadocMethodCheck.Token

java.lang.Object
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck.Token
Enclosing class:
JavadocMethodCheck

private static class JavadocMethodCheck.Token extends Object
Represents text element with location in the text.
  • Field Details

    • columnNo

      private final int columnNo
      Token's column number.
    • lineNo

      private final int lineNo
      Token's line number.
    • text

      private final String text
      Token's text.
  • Constructor Details

    • Token

      Token(String text, int lineNo, int columnNo)
      Creates token.
      Parameters:
      text - token's text
      lineNo - token's line number
      columnNo - token's column number
    • Token

      Token(FullIdent fullIdent)
      Converts FullIdent to Token.
      Parameters:
      fullIdent - full ident to convert.
  • Method Details

    • getText

      public String getText()
      Gets text of the token.
      Returns:
      text of the token
    • toString

      public String toString()
      Overrides:
      toString in class Object