com.puppycrawl.tools.checkstyle.checks.indentation
public class LineSet extends Object
Method Summary | |
---|---|
void | addLineAndCol(Integer aLineNum, int aCol)
Add a line to this set of lines.
|
int | firstLine()
Get the line number of the first line.
|
int | firstLineCol()
Get the starting column for the first line.
|
Integer | getStartColumn(Integer aLineNum)
Get the starting column for a given line number.
|
boolean | isEmpty()
Determines if this set of lines is empty.
|
int | lastLine()
Get the line number of the last line.
|
String | toString() |
Parameters: aLineNum the line to add aCol the starting column of the new line
Returns: the line number of the first line
Returns: the starting column for the first line.
Parameters: aLineNum the specified line number
Returns: the starting column for the given line number
Returns: true if it is empty, false otherwise
Returns: the line number of the last line
Returns: string representation