public class JavadocVariableCheck extends Check
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVADOC_MISSING
A key is pointing to the warning message text in "messages.properties"
file.
|
| Constructor and Description |
|---|
JavadocVariableCheck() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getAcceptableTokens()
The configurable token set.
|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
int[] |
getRequiredTokens()
The tokens that this check must be registered for.
|
void |
setExcludeScope(String excludeScope)
Set the excludeScope.
|
void |
setIgnoreNamePattern(String regexp)
Sets the variable names to ignore in the check.
|
void |
setScope(String from)
Sets the scope to check.
|
void |
visitToken(DetailAST ast)
Called to process a token.
|
beginTree, destroy, finishTree, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic static final String JAVADOC_MISSING
public JavadocVariableCheck()
public void setScope(String from)
from - string to get the scope frompublic void setExcludeScope(String excludeScope)
excludeScope - a String valuepublic void setIgnoreNamePattern(String regexp)
regexp - regular expression to define variable names to ignore.org.apache.commons.beanutils.ConversionException - if unable to create Pattern object.public int[] getDefaultTokens()
CheckgetDefaultTokens in class CheckTokenTypespublic int[] getAcceptableTokens()
CheckgetAcceptableTokens in class CheckTokenTypespublic int[] getRequiredTokens()
CheckgetRequiredTokens in class CheckTokenTypespublic void visitToken(DetailAST ast)
CheckvisitToken in class Checkast - the token to processCopyright © 2001-2015. All Rights Reserved.