private static class SuppressWarningsHolder.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
checkName
The source name of the suppressed check.
|
private int |
firstColumn
The suppression region for the check - first column.
|
private int |
firstLine
The suppression region for the check - first line.
|
private int |
lastColumn
The suppression region for the check - last column.
|
private int |
lastLine
The suppression region for the check - last line.
|
Constructor and Description |
---|
Entry(java.lang.String checkName,
int firstLine,
int firstColumn,
int lastLine,
int lastColumn)
Constructs a new suppression region entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCheckName()
Gets he source name of the suppressed check.
|
int |
getFirstColumn()
Gets the first column of the suppression region.
|
int |
getFirstLine()
Gets the first line of the suppression region.
|
int |
getLastColumn()
Gets the last column of the suppression region.
|
int |
getLastLine()
Gets the last line of the suppression region.
|
private final java.lang.String checkName
private final int firstLine
private final int firstColumn
private final int lastLine
private final int lastColumn
Entry(java.lang.String checkName, int firstLine, int firstColumn, int lastLine, int lastColumn)
checkName
- the source name of the suppressed checkfirstLine
- the first line of the suppression regionfirstColumn
- the first column of the suppression regionlastLine
- the last line of the suppression regionlastColumn
- the last column of the suppression regionpublic java.lang.String getCheckName()
public int getFirstLine()
public int getFirstColumn()
public int getLastLine()
public int getLastColumn()