Class MultipleStringLiteralsCheck.StringInfo

  • Enclosing class:
    MultipleStringLiteralsCheck

    private static final class MultipleStringLiteralsCheck.StringInfo
    extends java.lang.Object
    This class contains information about where a string was found.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int col
      Column of finding.
      private int line
      Line of finding.
    • Constructor Summary

      Constructors 
      Constructor Description
      StringInfo​(int line, int col)
      Creates information about a string position.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int getCol()
      The column where a string was found.
      private int getLine()
      The line where a string was found.
      • Methods inherited from class java.lang.Object

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

      • line

        private final int line
        Line of finding.
      • col

        private final int col
        Column of finding.
    • Constructor Detail

      • StringInfo

        StringInfo​(int line,
                   int col)
        Creates information about a string position.
        Parameters:
        line - int
        col - int
    • Method Detail

      • getLine

        private int getLine()
        The line where a string was found.
        Returns:
        int Line of the string.
      • getCol

        private int getCol()
        The column where a string was found.
        Returns:
        int Column of the string.