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 java.lang.Object
Represents text element with location in the text.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractTypeAwareCheck.Token
public AbstractTypeAwareCheck.Token(java.lang.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 java.lang.String getText()
- Returns:
- text of the token
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2010. All Rights Reserved.