public class CyclomaticComplexityCheck extends AbstractComplexityCheck
Constructor and Description |
---|
CyclomaticComplexityCheck()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
protected String |
getMessageID() |
protected void |
visitTokenHook(DetailAST aAST)
Hook called when visiting a token.
|
getCurrentValue, getMax, getRequiredTokens, incrementCurrentValue, leaveToken, leaveTokenHook, popValue, pushValue, setCurrentValue, setMax, visitToken
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public int[] getDefaultTokens()
getDefaultTokens
in class Check
TokenTypes
protected final void visitTokenHook(DetailAST aAST)
visitTokenHook
in class AbstractComplexityCheck
aAST
- the token being visitedprotected final String getMessageID()
getMessageID
in class AbstractComplexityCheck