public final class PackageDeclarationCheck extends Check
DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize
コンストラクタと説明 |
---|
PackageDeclarationCheck() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
beginTree(DetailAST aAST)
Called before the starting to process a tree.
|
void |
finishTree(DetailAST aAST)
Called after finished processing a tree.
|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
int[] |
getRequiredTokens()
The tokens that this check must be registered for.
|
void |
setIgnoreDirectoryName(boolean aValue)
Set whether to ignore checking the directory name.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
destroy, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, leaveToken, 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 setIgnoreDirectoryName(boolean aValue)
aValue
- the new value.public int[] getDefaultTokens()
Check
getDefaultTokens
クラス内 Check
TokenTypes
public int[] getRequiredTokens()
Check
getRequiredTokens
クラス内 Check
TokenTypes
public void beginTree(DetailAST aAST)
Check
public void finishTree(DetailAST aAST)
Check
finishTree
クラス内 Check
aAST
- the root of the treepublic void visitToken(DetailAST aAST)
Check
visitToken
クラス内 Check
aAST
- the token to processCopyright © 2001-2013. All Rights Reserved.