public class UncommentedMainCheck extends Check
<module name="UncommentedMain"/>
| Constructor and Description |
|---|
UncommentedMainCheck() |
| Modifier and Type | Method and Description |
|---|---|
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, setTokensgetId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic void setExcludedClasses(String aExcludedClasses) throws org.apache.commons.beanutils.ConversionException
aExcludedClasses - a String valueorg.apache.commons.beanutils.ConversionException - unable to parse aExcludedClassespublic int[] getDefaultTokens()
getDefaultTokens in class CheckTokenTypespublic int[] getRequiredTokens()
getRequiredTokens in class CheckTokenTypespublic void beginTree(DetailAST aRootAST)
public void leaveToken(DetailAST aAst)
leaveToken in class CheckaAst - the token leavingpublic void visitToken(DetailAST aAst)
visitToken in class CheckaAst - the token to process