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() |
| int | getMax()
Getter for maximum allowed complexity. |
| int[] | getRequiredTokens() |
| void | leaveToken(DetailAST aAST) |
| void | setMax(int aMax)
Setter for maximum allowed complexity. |
| void | visitToken(DetailAST aAST) |
Returns: value of maximum allowed complexity.
Parameters: aMax new maximum allowed complexity.