com.puppycrawl.tools.checkstyle.api
class Comment extends Object implements TextBlock
Constructor Summary | |
---|---|
Comment(String[] aText, int aFirstCol, int aLastLine, int aLastCol)
Creates new instance. |
Method Summary | |
---|---|
int | getEndColNo() {@inheritDoc} |
int | getEndLineNo() {@inheritDoc} |
int | getStartColNo() {@inheritDoc} |
int | getStartLineNo() {@inheritDoc} |
String[] | getText() {@inheritDoc} |
boolean | intersects(int aStartLineNo, int aStartColNo, int aEndLineNo, int aEndColNo) {@inheritDoc} |
String | toString() {@inheritDoc} |
Parameters: aText the lines that make up the comment. aFirstCol number of the first column of the comment. aLastLine number of the last line of the comment. aLastCol number of the last column of the comment.