AbstractCheck
instead.@Deprecated public abstract class AbstractIllegalMethodCheck extends AbstractCheck
Modifier | Constructor and Description |
---|---|
protected |
AbstractIllegalMethodCheck(String methodName,
String errorKey)
Deprecated.
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getAcceptableTokens()
Deprecated.
The configurable token set.
|
int[] |
getDefaultTokens()
Deprecated.
Returns the default token a check is interested in.
|
int[] |
getRequiredTokens()
Deprecated.
The tokens that this check must be registered for.
|
void |
visitToken(DetailAST aAST)
Deprecated.
Called to process a token.
|
beginTree, destroy, finishTree, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
protected AbstractIllegalMethodCheck(String methodName, String errorKey)
methodName
- name of the method to disallow.errorKey
- the error key to report with.public int[] getDefaultTokens()
AbstractCheck
getDefaultTokens
in class AbstractCheck
TokenTypes
public int[] getAcceptableTokens()
AbstractCheck
getAcceptableTokens
in class AbstractCheck
TokenTypes
public int[] getRequiredTokens()
AbstractCheck
getRequiredTokens
in class AbstractCheck
TokenTypes
public void visitToken(DetailAST aAST)
AbstractCheck
visitToken
in class AbstractCheck
aAST
- the token to processCopyright © 2001-2017. All Rights Reserved.