Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.Check
com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck
public final class ExecutableStatementCountCheck
extends Check
Constructor Summary | |
|
Method Summary | |
void | |
int[] | |
int |
|
int[] | |
void |
|
void |
|
void |
|
Methods inherited from class com.puppycrawl.tools.checkstyle.api.Check | |
beginTree , destroy , finishTree , getAcceptableTokens , getClassLoader , getDefaultTokens , getFileContents , getLines , getRequiredTokens , getTabWidth , getTokenNames , init , leaveToken , log , log , setClassLoader , setFileContents , setMessages , setTabWidth , setTokens , visitToken |
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter | |
getMessageBundle , getSeverity , getSeverityLevel , log , log , log , log , log , log , log , log , log , log , log , setSeverity |
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean | |
configure , contextualize , finishLocalSetup , getConfiguration , setupChild |
public ExecutableStatementCountCheck()
Constructs aExecutableStatementCountCheck
.
public void beginTree(DetailAST aRootAST)
- Overrides:
- beginTree in interface Check
- See Also:
Check
public int[] getDefaultTokens()
- Overrides:
- getDefaultTokens in interface Check
- See Also:
Check.getDefaultTokens()
public int getMax()
Gets the maximum threshold.
- Returns:
- the maximum threshold.
public int[] getRequiredTokens()
- Overrides:
- getRequiredTokens in interface Check
- See Also:
Check.getRequiredTokens()
public void leaveToken(DetailAST aAST)
- Overrides:
- leaveToken in interface Check
- See Also:
Check
public void setMax(int aMax)
Sets the maximum threshold.
- Parameters:
aMax
- the maximum threshold.
Back to the Checkstyle Home Page |