Class SourceInfoMap.SourceLineRange

  • Enclosing class:
    SourceInfoMap

    public static class SourceInfoMap.SourceLineRange
    extends java.lang.Object
    A range of source lines.
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceLineRange​(java.lang.Integer line)
      Constructor for a single line.
      SourceLineRange​(java.lang.Integer start, java.lang.Integer end)
      Constructor for a range of lines.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getEnd()  
      java.lang.Integer getStart()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SourceLineRange

        public SourceLineRange​(@Nonnull
                               java.lang.Integer line)
        Constructor for a single line.
      • SourceLineRange

        public SourceLineRange​(@Nonnull
                               java.lang.Integer start,
                               @Nonnull
                               java.lang.Integer end)
        Constructor for a range of lines.
        Parameters:
        start - start line in range
        end - end line in range
    • Method Detail

      • getStart

        @Nonnull
        public java.lang.Integer getStart()
        Returns:
        Returns the start.
      • getEnd

        @Nonnull
        public java.lang.Integer getEnd()
        Returns:
        Returns the end.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object