|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to be notified by parser about comments in the parsed code.
Method Summary | |
void |
reportBlockComment(java.lang.String aType,
int aStartLineNo,
int aStartColNo,
int aEndLineNo,
int aEndColNo)
Report the location of a block comment that can span multiple lines. |
void |
reportSingleLineComment(java.lang.String aType,
int aStartLineNo,
int aStartColNo)
Report the location of a single line comment that extends from the given point to the end of the line. |
Method Detail |
public void reportSingleLineComment(java.lang.String aType, int aStartLineNo, int aStartColNo)
aType
- an identifier for what type of comment it is.aStartLineNo
- the starting line numberaStartColNo
- the starting column numberpublic void reportBlockComment(java.lang.String aType, int aStartLineNo, int aStartColNo, int aEndLineNo, int aEndColNo)
aType
- an identifier for what type of comment it is.aStartLineNo
- the starting line numberaStartColNo
- the starting column numberaEndLineNo
- the ending line numberaEndColNo
- the ending column number
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |