public final class NonStaticMethodCheck extends Check
this.
If your method doesn't need this than why it is not
static?
| Constructor and Description |
|---|
NonStaticMethodCheck() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDefaultTokens() |
void |
setExcludeFileNamePattern(String excl)
Exclude files matching given pattern.
|
void |
visitToken(DetailAST ast) |
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic void setExcludeFileNamePattern(String excl)
excl - Regexp of classes to exclude.public int[] getDefaultTokens()
getDefaultTokens in class Checkpublic void visitToken(DetailAST ast)
visitToken in class CheckCopyright © 2011–2014 Qulice.com. All rights reserved.