com.puppycrawl.tools.checkstyle.checks.j2ee
Class AbstractJ2eeCheck
- Configurable, Contextualizable
public abstract class AbstractJ2eeCheck
Abstract class for J2ee component checking.
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLines, getRequiredTokens, 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, log, log, setId, setSeverity |
getMethodChecker
public MethodChecker getMethodChecker()
Gets the method checker for this component check.
- the method checker for this component check.
log
protected void log(DetailAST aAST,
String aKey,
Object[] aArgs) Helper method to log a LocalizedMessage for an AST.
aAST - the AST for the message.aKey - key to locale message formataArgs - arguments for message
logName
protected void logName(DetailAST aAST,
String aKey,
Object[] aArgs) Helper method to log a LocalizedMessage for an AST.
Logs the name, line, and column of the AST.
aAST - the AST for the message.aKey - key to locale message formataArgs - arguments for message
setMethodChecker
public void setMethodChecker(MethodChecker aMethodChecker)
Sets the method checker for this component check.
aMethodChecker - the method checker for this component check.