public abstract class AbstractNameCheck extends AbstractFormatCheck
Constructor and Description |
---|
AbstractNameCheck(String aFormat)
Creates a new
AbstractNameCheck instance. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
mustCheckName(DetailAST aAST)
Decides whether the name of an AST should be checked against
the format regexp.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
getFormat, getRegexp, setCompileFlags, setFormat
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLines, getRequiredTokens, 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 AbstractNameCheck(String aFormat)
AbstractNameCheck
instance.aFormat
- format to check withprotected boolean mustCheckName(DetailAST aAST)
aAST
- the AST to check.public void visitToken(DetailAST aAST)
Check
visitToken
in class Check
aAST
- the token to processCopyright © 2001-2013. All Rights Reserved.