static class ConformanceRules.BannedDependency extends ConformanceRules.AbstractRule
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
paths |
compiler, message, onlyApplyTo, onlyApplyToRegexp, whitelist, whitelistRegexp
Constructor and Description |
---|
BannedDependency(AbstractCompiler compiler,
Requirement requirement) |
Modifier and Type | Method and Description |
---|---|
protected ConformanceRules.ConformanceResult |
checkConformance(NodeTraversal t,
Node n) |
check, report, shouldCheckConformance
BannedDependency(AbstractCompiler compiler, Requirement requirement) throws CheckConformance.InvalidRequirementSpec
protected ConformanceRules.ConformanceResult checkConformance(NodeTraversal t, Node n)
checkConformance
in class ConformanceRules.AbstractRule