public abstract class AbstractSuperCheck extends Check
Abstract class for checking that an overriding method with no parameters invokes the super method.
| Constructor and Description |
|---|
AbstractSuperCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process a tree.
|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
protected abstract String |
getMethodName()
Returns the name of the overriding method.
|
void |
leaveToken(DetailAST aAST)
Called after all the child nodes have been process.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic int[] getDefaultTokens()
getDefaultTokens in class CheckTokenTypesprotected abstract String getMethodName()
public void beginTree(DetailAST aRootAST)
public void visitToken(DetailAST aAST)
visitToken in class CheckaAST - the token to processpublic void leaveToken(DetailAST aAST)
leaveToken in class CheckaAST - the token leaving