com.puppycrawl.tools.checkstyle.checks.naming

Class AbstractClassNameCheck

public final class AbstractClassNameCheck extends AbstractFormatCheck

Ensures that the names of abstract classes conforming to some regular expression.

Rationale: Abstract classes are convenience base class implementations of interfaces, not types as such. As such they should be named to indicate this.

Author: Simon Harris

Constructor Summary
AbstractClassNameCheck()
Creates new instance of the check.
Method Summary
int[]getDefaultTokens()
int[]getRequiredTokens()
voidvisitToken(DetailAST aAST)

Constructor Detail

AbstractClassNameCheck

public AbstractClassNameCheck()
Creates new instance of the check.

Method Detail

getDefaultTokens

public int[] getDefaultTokens()
{@inheritDoc }

getRequiredTokens

public int[] getRequiredTokens()
{@inheritDoc }

visitToken

public void visitToken(DetailAST aAST)
{@inheritDoc }