Class ExecutableStatementCountCheck.Context
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck.Context
- Enclosing class:
- ExecutableStatementCountCheck
Class to encapsulate counting information about one member.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ast
Member AST node. -
count
Counter for context elements.
-
-
Constructor Details
-
Context
Creates new member context.- Parameters:
ast
- member AST node.
-
-
Method Details
-
addCount
Increase count.- Parameters:
addition
- the count increment.
-
getAST
Gets the member AST node.- Returns:
- the member AST node.
-
getCount
Gets the count.- Returns:
- the count.
-