com.puppycrawl.tools.checkstyle.checks.metrics
public final class BooleanExpressionComplexityCheck extends Check
Constructor Summary | |
---|---|
BooleanExpressionComplexityCheck() Creates new instance of the check. |
Method Summary | |
---|---|
int[] | getDefaultTokens() {@inheritDoc} |
int | getMax()
Getter for maximum allowed complexity. |
int[] | getRequiredTokens() {@inheritDoc} |
void | leaveToken(DetailAST aAST) {@inheritDoc} |
void | setMax(int aMax)
Setter for maximum allowed complexity. |
void | visitToken(DetailAST aAST) {@inheritDoc} |
Returns: value of maximum allowed complexity.
Parameters: aMax new maximum allowed complexity.