private static class ExecutableStatementCountCheck.Context
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private DetailAST |
ast
Member AST node.
|
private int |
count
Counter for context elements.
|
Constructor and Description |
---|
Context(DetailAST ast)
Creates new member context.
|
Modifier and Type | Method and Description |
---|---|
void |
addCount(int addition)
Increase count.
|
DetailAST |
getAST()
Gets the member AST node.
|
int |
getCount()
Gets the count.
|
private final DetailAST ast
private int count
Context(DetailAST ast)
ast
- member AST node.public void addCount(int addition)
addition
- the count increment.public DetailAST getAST()
public int getCount()