public class JavadocTypeCheck extends Check
Constructor and Description |
---|
JavadocTypeCheck() |
Modifier and Type | Method and Description |
---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
void |
setAllowMissingParamTags(boolean flag)
Controls whether to allow a type which has type parameters to
omit matching param tags in the javadoc.
|
void |
setAllowUnknownTags(boolean flag)
Controls whether to flag errors for unknown tags.
|
void |
setAuthorFormat(String format)
Set the author tag pattern.
|
void |
setExcludeScope(String scope)
Set the excludeScope.
|
void |
setScope(String from)
Sets the scope to check.
|
void |
setVersionFormat(String format)
Set the version format pattern.
|
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 JavadocTypeCheck()
public void setScope(String from)
from
- string to set scope frompublic void setExcludeScope(String scope)
scope
- a String
valuepublic void setAuthorFormat(String format) throws org.apache.commons.beanutils.ConversionException
format
- a String
valueorg.apache.commons.beanutils.ConversionException
- unable to parse aFormatpublic void setVersionFormat(String format) throws org.apache.commons.beanutils.ConversionException
format
- a String
valueorg.apache.commons.beanutils.ConversionException
- unable to parse aFormatpublic void setAllowMissingParamTags(boolean flag)
flag
- a Boolean
valuepublic void setAllowUnknownTags(boolean flag)
flag
- a Boolean
valuepublic 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.