com.puppycrawl.tools.checkstyle.api
public interface TextBlock
Method Summary | |
---|---|
int | getEndColNo()
The column in the inputfile where the text block ends.
|
int | getEndLineNo()
The last line of the text block in the inputfile.
|
int | getStartColNo()
The column in the inputfile where the text block starts.
|
int | getStartLineNo()
The line in the inputfile where the text block starts.
|
String[] | getText()
The text content of the text block.
|
boolean | intersects(int aStartLineNo, int aStartColNo, int aEndLineNo, int aEndColNo)
Checks if this comment intersects with a specified
part of the file.
|
Returns: last line of the text block
Returns: last line of the text block
Returns: first line of the text block
Returns: first line of the text block
Returns: the text content of the text block.
Parameters: aStartLineNo the starting line number in the file aStartColNo the starting column number in the file aEndLineNo the ending line number in the file aEndColNo the ending column number in the file
Returns: true if the positions intersects with this comment.