public abstract class DeclarationCollector extends Check
DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize
コンストラクタと説明 |
---|
DeclarationCollector() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process a tree.
|
protected boolean |
isClassField(String aName)
Check if given name is a name for class field in current environment.
|
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, getDefaultTokens, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
calculateScore, getCustomMessages, getErrorScore, getId, getInfoScore, getMessageBundle, getScore, getScoring, getSeverity, getSeverityLevel, getWarningScore, log, setErrorScore, setId, setInfoScore, setScore, setScoring, setSeverity, setWarningScore
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public void beginTree(DetailAST aRootAST)
Check
public void visitToken(DetailAST aAST)
Check
visitToken
クラス内 Check
aAST
- the token to processpublic void leaveToken(DetailAST aAST)
Check
leaveToken
クラス内 Check
aAST
- the token leavingprotected final boolean isClassField(String aName)
aName
- a name to checkCopyright © 2001-2013. All Rights Reserved.