com.puppycrawl.tools.checkstyle.checks
Class AbstractTypeAwareCheck.Token
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
- Enclosing class:
- AbstractTypeAwareCheck
protected static class AbstractTypeAwareCheck.Token
- extends Object
Represents text element with location in the text.
AbstractTypeAwareCheck.Token
public AbstractTypeAwareCheck.Token(String aText,
int aLine,
int aColumn)
- Creates token.
- Parameters:
aText
- token's textaLine
- token's line numberaColumn
- token's column number
AbstractTypeAwareCheck.Token
public AbstractTypeAwareCheck.Token(FullIdent aFullIdent)
- Converts FullIdent to Token.
- Parameters:
aFullIdent
- full ident to convert.
getLineNo
public int getLineNo()
- Returns:
- line number of the token
getColumnNo
public int getColumnNo()
- Returns:
- column number of the token
getText
public String getText()
- Returns:
- text of the token
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2014. All Rights Reserved.