public abstract class DeclarationCollector extends Check
| Constructor and Description |
|---|
DeclarationCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(DetailAST rootAST)
Called before the starting to process a tree.
|
protected boolean |
isClassField(String name)
Check if given name is a name for class field in current environment.
|
protected boolean |
isClassMethod(String name)
Check if given name is a name for class method in current environment.
|
void |
visitToken(DetailAST ast)
Called to process a token.
|
destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLine, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic DeclarationCollector()
public void beginTree(DetailAST rootAST)
Checkpublic void visitToken(DetailAST ast)
CheckvisitToken in class Checkast - the token to processprotected final boolean isClassField(String name)
name - a name to checkprotected final boolean isClassMethod(String name)
name - a name to checkCopyright © 2001–2015. All rights reserved.