public class UncommentedMainCheck extends Check
<module name="UncommentedMain"/>
DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize
コンストラクタと説明 |
---|
UncommentedMainCheck() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process 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 |
leaveToken(DetailAST aAst)
Called after all the child nodes have been process.
|
void |
setExcludedClasses(String aExcludedClasses)
Set the excluded classes pattern.
|
void |
visitToken(DetailAST aAst)
Called to process a token.
|
destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, 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 setExcludedClasses(String aExcludedClasses) throws org.apache.commons.beanutils.ConversionException
aExcludedClasses
- a String
valueorg.apache.commons.beanutils.ConversionException
- unable to parse aExcludedClassespublic int[] getDefaultTokens()
Check
getDefaultTokens
クラス内 Check
TokenTypes
public int[] getRequiredTokens()
Check
getRequiredTokens
クラス内 Check
TokenTypes
public void beginTree(DetailAST aRootAST)
Check
public void leaveToken(DetailAST aAst)
Check
leaveToken
クラス内 Check
aAst
- the token leavingpublic void visitToken(DetailAST aAst)
Check
visitToken
クラス内 Check
aAst
- the token to processCopyright © 2001-2013. All Rights Reserved.