com.puppycrawl.tools.checkstyle.checks.javadoc

Class JavadocStyleCheck

public class JavadocStyleCheck extends Check

Custom Checkstyle Check to validate Javadoc.

Version: 1.2

Author: Chris Stillwell Daniel Grenner

Method Summary
int[]getDefaultTokens()
{@inheritDoc}
voidsetCheckEmptyJavadoc(boolean aFlag)
Sets the flag that determines if empty JavaDoc checking should be done.
voidsetCheckFirstSentence(boolean aFlag)
Sets the flag that determines if the first sentence is checked for proper end of sentence punctuation.
voidsetCheckHtml(boolean aFlag)
Sets the flag that determines if HTML checking is to be performed.
voidsetExcludeScope(String aScope)
Set the excludeScope.
voidsetScope(String aFrom)
Sets the scope to check.
voidvisitToken(DetailAST aAST)
{@inheritDoc}

Method Detail

getDefaultTokens

public int[] getDefaultTokens()
{@inheritDoc}

setCheckEmptyJavadoc

public void setCheckEmptyJavadoc(boolean aFlag)
Sets the flag that determines if empty JavaDoc checking should be done.

Parameters: aFlag true if empty JavaDoc checking should be done.

setCheckFirstSentence

public void setCheckFirstSentence(boolean aFlag)
Sets the flag that determines if the first sentence is checked for proper end of sentence punctuation.

Parameters: aFlag true if the first sentence is to be checked

setCheckHtml

public void setCheckHtml(boolean aFlag)
Sets the flag that determines if HTML checking is to be performed.

Parameters: aFlag true if HTML checking is to be performed.

setExcludeScope

public void setExcludeScope(String aScope)
Set the excludeScope.

Parameters: aScope a String value

setScope

public void setScope(String aFrom)
Sets the scope to check.

Parameters: aFrom string to get the scope from

visitToken

public void visitToken(DetailAST aAST)
{@inheritDoc}