Class TagParser.Point

java.lang.Object
com.puppycrawl.tools.checkstyle.checks.javadoc.TagParser.Point
Enclosing class:
TagParser

private static final class TagParser.Point extends Object
Represents current position in the text.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    Column number.
    private final int
    Line number.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Point(int lineNo, int columnNo)
    Creates new Point instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Getter for column number.
    int
    Getter for line number.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • lineNo

      private final int lineNo
      Line number.
    • columnNo

      private final int columnNo
      Column number.
  • Constructor Details

    • Point

      private Point(int lineNo, int columnNo)
      Creates new Point instance.
      Parameters:
      lineNo - line number
      columnNo - column number
  • Method Details

    • getLineNo

      public int getLineNo()
      Getter for line number.
      Returns:
      line number of the position.
    • getColumnNo

      public int getColumnNo()
      Getter for column number.
      Returns:
      column number of the position.