public class JavadocVariableCheck extends AbstractCheck
serialVersionUID fields.| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_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 MSG_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()
AbstractCheckgetDefaultTokens in class AbstractCheckTokenTypespublic int[] getAcceptableTokens()
AbstractCheckgetAcceptableTokens in class AbstractCheckTokenTypespublic int[] getRequiredTokens()
AbstractCheckgetRequiredTokens in class AbstractCheckTokenTypespublic void visitToken(DetailAST ast)
AbstractCheckvisitToken in class AbstractCheckast - the token to processCopyright © 2001-2016. All Rights Reserved.