Class SarifLog.Region

  • Enclosing class:
    SarifLog

    public static class SarifLog.Region
    extends Object
    A region within an artifact where a result was detected.
    • Method Detail

      • getStartLine

        public Integer getStartLine()
        The line number of the first character in the region.
      • getStartColumn

        public Integer getStartColumn()
        The column number of the first character in the region.
      • getEndLine

        public Integer getEndLine()
        The line number of the last character in the region.
      • getEndColumn

        public Integer getEndColumn()
        The column number of the character following the end of the region.
      • setStartLine

        public SarifLog.Region setStartLine​(Integer startLine)
        The line number of the first character in the region.
        Returns:
        this.
      • setStartColumn

        public SarifLog.Region setStartColumn​(Integer startColumn)
        The column number of the first character in the region.
        Returns:
        this.
      • setEndLine

        public SarifLog.Region setEndLine​(Integer endLine)
        The line number of the last character in the region.
        Returns:
        this.
      • setEndColumn

        public SarifLog.Region setEndColumn​(Integer endColumn)
        The column number of the character following the end of the region.
        Returns:
        this.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object