|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.CheckUtils
Contains utility methods for the checks.
Method Summary | |
static FullIdent |
createFullType(DetailAST aTypeAST)
Creates FullIdent for given type node. |
static boolean |
isElseIf(DetailAST aAST)
Returns whether a token represents an ELSE as part of an ELSE / IF set. |
static float |
parseFloat(java.lang.String aText,
int aType)
Returns the value represented by the specified string of the specified type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean isElseIf(DetailAST aAST)
aAST
- the token to check
public static FullIdent createFullType(DetailAST aTypeAST)
FullIdent
for given type node.
aTypeAST
- a type node.
FullIdent
for given type.public static float parseFloat(java.lang.String aText, int aType)
aText
- the string to be parsed.aType
- the token type of the text. Should be a constant of
TokenTypes
.
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |