public abstract class AbstractJavadocCheck extends Check
| Constructor and Description |
|---|
AbstractJavadocCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginJavadocTree(DetailNode aRootAst)
Called before the starting to process a tree.
|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process a tree.
|
void |
finishJavadocTree(DetailNode aRootAst)
Called after finished processing a tree.
|
void |
finishTree(DetailAST aRootAST)
Called after finished processing a tree.
|
int[] |
getAcceptableTokens()
Defined final to not allow JavadocChecks to change acceptable tokens.
|
protected DetailAST |
getBlockCommentAst() |
abstract int[] |
getDefaultJavadocTokens()
Returns the default token types a check is interested in.
|
int[] |
getDefaultTokens()
Defined final to not allow JavadocChecks to change default tokens.
|
int[] |
getRequiredTokens()
Defined final to not allow JavadocChecks to change required tokens.
|
boolean |
isCommentNodesRequired()
Defined final because all JavadocChecks require comment nodes.
|
void |
leaveJavadocToken(DetailNode aAst)
Called after all the child nodes have been process.
|
void |
leaveToken(DetailAST aAST)
Called after all the child nodes have been process.
|
void |
visitJavadocToken(DetailNode aAst)
Called to process a Javadoc token.
|
void |
visitToken(DetailAST aBlockCommentAst)
Called to process a token.
|
destroy, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic abstract int[] getDefaultJavadocTokens()
JavadocTokenTypespublic void beginJavadocTree(DetailNode aRootAst)
aRootAst - the root of the treepublic void finishJavadocTree(DetailNode aRootAst)
aRootAst - the root of the treepublic void visitJavadocToken(DetailNode aAst)
aAst - the token to processpublic void leaveJavadocToken(DetailNode aAst)
aAst - the token leavingpublic final int[] getDefaultTokens()
getDefaultTokens in class CheckTokenTypespublic final int[] getAcceptableTokens()
getAcceptableTokens in class CheckTokenTypespublic final int[] getRequiredTokens()
getRequiredTokens in class CheckTokenTypespublic final boolean isCommentNodesRequired()
isCommentNodesRequired in class Checkpublic final void beginTree(DetailAST aRootAST)
Checkpublic final void finishTree(DetailAST aRootAST)
CheckfinishTree in class CheckaRootAST - the root of the treepublic final void leaveToken(DetailAST aAST)
CheckleaveToken in class CheckaAST - the token leavingpublic final void visitToken(DetailAST aBlockCommentAst)
CheckvisitToken in class CheckaBlockCommentAst - the token to processprotected DetailAST getBlockCommentAst()
Copyright © 2001-2014. All Rights Reserved.