public class JavadocVariableCheck extends Check
| Constructor and Description |
|---|
JavadocVariableCheck() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
String |
getIgnoreNamePattern()
Gets the variable names to ignore in the check.
|
void |
setExcludeScope(String scope)
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, getAcceptableTokens, getClassLoader, getFileContents, getLine, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic JavadocVariableCheck()
public void setScope(String from)
from - string to get the scope frompublic void setExcludeScope(String scope)
scope - a String valuepublic void setIgnoreNamePattern(String regexp)
regexp - regexp to define variable names to ignore.public String getIgnoreNamePattern()
public int[] getDefaultTokens()
CheckgetDefaultTokens in class CheckTokenTypespublic void visitToken(DetailAST ast)
CheckvisitToken in class Checkast - the token to processCopyright © 2001–2015. All rights reserved.