|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A block of text from an inputfile that does not necessarily have any grammatical structure.
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. |
java.lang.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. |
Method Detail |
public java.lang.String[] getText()
public int getStartLineNo()
public int getEndLineNo()
public int getStartColNo()
public int getEndColNo()
public boolean intersects(int aStartLineNo, int aStartColNo, int aEndLineNo, int aEndColNo)
aStartLineNo
- the starting line number in the fileaStartColNo
- the starting column number in the fileaEndLineNo
- the ending line number in the fileaEndColNo
- the ending column number in the file
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |