com.puppycrawl.tools.checkstyle.checks
Class AbstractTypeAwareCheck.Token
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
- AbstractTypeAwareCheck
protected static class AbstractTypeAwareCheck.Token
Represents text element with location in the text.
Token(String aText, int aLine, int aColumn)- Creates token.
|
Token(FullIdent aFullIdent)- Converts FullIdent to Token.
|
Token
public Token(String aText,
int aLine,
int aColumn) Creates token.
aText - token's textaLine - token's line numberaColumn - token's column number
Token
public Token(FullIdent aFullIdent)
Converts FullIdent to Token.
aFullIdent - full ident to convert.
getColumnNo
public int getColumnNo()
- column number of the token
getLineNo
public int getLineNo()
getText
public String getText()
toString
public String toString()