com.puppycrawl.tools.checkstyle.checks.sizes
Class ExecutableStatementCountCheck
- Configurable, Contextualizable
public final class ExecutableStatementCountCheck
Restricts the number of executable statements to a specified limit
(default = 30).
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 |
ExecutableStatementCountCheck
public ExecutableStatementCountCheck()
Constructs a ExecutableStatementCountCheck
.
getMax
public int getMax()
Gets the maximum threshold.
setMax
public void setMax(int aMax)
Sets the maximum threshold.
aMax
- the maximum threshold.