public final class NPathComplexityCheck extends AbstractComplexityCheck
| Constructor and Description |
|---|
NPathComplexityCheck()
Creates new instance of the check.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
protected String |
getMessageID() |
void |
leaveToken(DetailAST ast)
Called after all the child nodes have been process.
|
void |
visitToken(DetailAST ast)
Called to process a token.
|
getCurrentValue, getMax, getRequiredTokens, incrementCurrentValue, leaveTokenHook, popValue, pushValue, setCurrentValue, setMax, visitTokenHookbeginTree, 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 NPathComplexityCheck()
public int[] getDefaultTokens()
CheckgetDefaultTokens in class CheckTokenTypespublic void visitToken(DetailAST ast)
CheckvisitToken in class AbstractComplexityCheckast - the token to processpublic void leaveToken(DetailAST ast)
CheckleaveToken in class AbstractComplexityCheckast - the token leavingprotected String getMessageID()
getMessageID in class AbstractComplexityCheckCopyright © 2001–2015. All rights reserved.