Class SarifLog.Region
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Region
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SarifLog.Region.RegionBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.Region.RegionBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getEndColumn()
The column number of the character following the end of the region.Integer
getEndLine()
The line number of the last character in the region.Integer
getStartColumn()
The column number of the first character in the region.Integer
getStartLine()
The line number of the first character in the region.int
hashCode()
SarifLog.Region
setEndColumn(Integer endColumn)
The column number of the character following the end of the region.SarifLog.Region
setEndLine(Integer endLine)
The line number of the last character in the region.SarifLog.Region
setStartColumn(Integer startColumn)
The column number of the first character in the region.SarifLog.Region
setStartLine(Integer startLine)
The line number of the first character in the region.String
toString()
-
-
-
Method Detail
-
builder
public static SarifLog.Region.RegionBuilder builder()
-
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)
-
-