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, setTokens
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public 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()
Check
getDefaultTokens
in class Check
TokenTypes
public void visitToken(DetailAST ast)
Check
visitToken
in class Check
ast
- the token to processCopyright © 2001–2015. All rights reserved.