com.puppycrawl.tools.checkstyle.checks.metrics
public abstract class AbstractClassCouplingCheck extends Check
Constructor Summary | |
---|---|
protected | AbstractClassCouplingCheck(int aDefaultMax)
Creates new instance of the check. |
Method Summary | |
---|---|
void | beginTree(DetailAST aAST) {@inheritDoc} |
int[] | getDefaultTokens() {@inheritDoc} |
protected abstract String | getLogMessageId() |
int | getMax() |
void | leaveToken(DetailAST aAST) {@inheritDoc} |
void | setMax(int aMax)
Sets maximul allowed complexity. |
void | visitToken(DetailAST aAST) {@inheritDoc} |
Parameters: aDefaultMax default value for allowed complexity.
Returns: message key we use for log violations.
Returns: allowed complexity.
Parameters: aMax allowed complexity.