| java.lang.Object com.puppycrawl.tools.checkstyle.api.AutomaticBean com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter com.puppycrawl.tools.checkstyle.api.Check com.mycompany.checks.MethodLimitCheck
MethodLimitCheck | public class MethodLimitCheck extends Check (Code) | | |
Method Summary | |
public int[] | getDefaultTokens() We are interested in CLASS_DEF and INTERFACE_DEF Tokens. | public void | setMax(int aMax) Give user a chance to configure max in the config file. | public void | visitToken(DetailAST ast) |
getDefaultTokens | public int[] getDefaultTokens()(Code) | | We are interested in CLASS_DEF and INTERFACE_DEF Tokens.
See Also: Check |
setMax | public void setMax(int aMax)(Code) | | Give user a chance to configure max in the config file.
Parameters: aMax - the user specified maximum parsed from configuration property. |
Methods inherited from com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter | final public String getId()(Code)(Java Doc) protected String getMessageBundle()(Code)(Java Doc) final public String getSeverity()(Code)(Java Doc) final public SeverityLevel getSeverityLevel()(Code)(Java Doc) final protected void log(int aLine, String aKey)(Code)(Java Doc) final protected void log(int aLineNo, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(int aLineNo, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) abstract protected void log(int aLine, String aKey, Object aArgs)(Code)(Java Doc) abstract protected void log(int aLine, int aCol, String aKey, Object[] aArgs)(Code)(Java Doc) final public void setId(String aId)(Code)(Java Doc) final public void setSeverity(String aSeverity)(Code)(Java Doc)
|
|
|