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, setIllegalClassNamesbeginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic IllegalThrowsCheck()
public int[] getDefaultTokens()
CheckgetDefaultTokens in class CheckTokenTypespublic int[] getRequiredTokens()
CheckgetRequiredTokens in class CheckTokenTypespublic void visitToken(DetailAST aDetailAST)
CheckvisitToken in class CheckaDetailAST - the token to processpublic void setIgnoredMethodNames(String[] aMethodNames)
aMethodNames - array of ignored method namesCopyright © 2001-2014. All Rights Reserved.