public final class IllegalThrowsCheck extends AbstractIllegalCheck
Constructor and Description |
---|
IllegalThrowsCheck()
Creates new instance of the check.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
int[] |
getRequiredTokens()
The tokens that this check must be registered for.
|
void |
setIgnoredMethodNames(String[] aMethodNames)
Set the list of ignore method names.
|
void |
visitToken(DetailAST aDetailAST)
Called to process a token.
|
isIllegalClassName, setIllegalClassNames
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public IllegalThrowsCheck()
public int[] getDefaultTokens()
Check
getDefaultTokens
in class Check
TokenTypes
public int[] getRequiredTokens()
Check
getRequiredTokens
in class Check
TokenTypes
public void visitToken(DetailAST aDetailAST)
Check
visitToken
in class Check
aDetailAST
- the token to processpublic void setIgnoredMethodNames(String[] aMethodNames)
aMethodNames
- array of ignored method namesCopyright © 2001-2014. All Rights Reserved.