public final class BooleanExpressionComplexityCheck extends Check
| Constructor and Description |
|---|
BooleanExpressionComplexityCheck()
Creates new instance of the check.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
int |
getMax()
Getter for maximum allowed complexity.
|
int[] |
getRequiredTokens()
The tokens that this check must be registered for.
|
void |
leaveToken(DetailAST aAST)
Called after all the child nodes have been process.
|
void |
setMax(int aMax)
Setter for maximum allowed complexity.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, isCommentNodesRequired, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic BooleanExpressionComplexityCheck()
public int[] getDefaultTokens()
CheckgetDefaultTokens in class CheckTokenTypespublic int[] getRequiredTokens()
CheckgetRequiredTokens in class CheckTokenTypespublic int getMax()
public void setMax(int aMax)
aMax - new maximum allowed complexity.public void visitToken(DetailAST aAST)
CheckvisitToken in class CheckaAST - the token to processpublic void leaveToken(DetailAST aAST)
CheckleaveToken in class CheckaAST - the token leavingCopyright © 2001-2014. All Rights Reserved.