Interface ISourceNode

    • Field Detail

      • UNKNOWN_LINE

        static final int UNKNOWN_LINE
        Place holder for unknown lines (no debug information)
        See Also:
        Constant Field Values
    • Method Detail

      • getFirstLine

        int getFirstLine()
        The number of the first line coverage information is available for. If no line is contained, the method returns -1.
        Returns:
        number of the first line or UNKNOWN_LINE
      • getLastLine

        int getLastLine()
        The number of the last line coverage information is available for. If no line is contained, the method returns -1.
        Returns:
        number of the last line or UNKNOWN_LINE
      • getLine

        ILine getLine​(int nr)
        Returns the line information for given line.
        Parameters:
        nr - line number of interest
        Returns:
        line information