public abstract class AbstractBeanCheck extends AbstractJ2eeCheck
public
.abstract
or
final
.public
constructor with no parameters.finalize
method.Constructor and Description |
---|
AbstractBeanCheck() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBean(DetailAST aAST,
String aBeanType,
boolean aAllowAbstract)
Checks a bean class requirements.
|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
int[] |
getRequiredTokens()
The tokens that this check must be registered for.
|
getMethodChecker, log, logName, setMethodChecker
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens, visitToken
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public int[] getDefaultTokens()
getDefaultTokens
in class Check
TokenTypes
public int[] getRequiredTokens()
getRequiredTokens
in class Check
TokenTypes
protected void checkBean(DetailAST aAST, String aBeanType, boolean aAllowAbstract)
public
.public
constructor with no parameters.finalize
method.aAST
- CLASS_DEF node for class definition to check.aBeanType
- bean type for error messages.aAllowAbstract
- if false, the class cannot be abstract.