Class AptParser.AptSourceLocator

    • Constructor Summary

      Constructors 
      Constructor Description
      AptSourceLocator​(AptSource aptSource, java.lang.String reference)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnNumber()
      Returns the column number for the sink event (starting from 1).
      int getLineNumber()
      Returns the line number for the sink event (starting from 1).
      • Methods inherited from class java.lang.Object

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

      • aptSource

        private final AptSource aptSource
    • Constructor Detail

      • AptSourceLocator

        AptSourceLocator​(AptSource aptSource,
                         java.lang.String reference)
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Description copied from interface: Locator
        Returns the line number for the sink event (starting from 1). If it is not known returns -1.
        Returns:
        the line number for the sink event
      • getColumnNumber

        public int getColumnNumber()
        Description copied from interface: Locator
        Returns the column number for the sink event (starting from 1). If it is not known returns -1.
        Returns:
        the column number for the sink event