static class ConformanceRules.RestrictedNameCall extends ConformanceRules.AbstractRule
| Modifier and Type | Class and Description |
|---|---|
private static class |
ConformanceRules.RestrictedNameCall.Restriction |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<ConformanceRules.RestrictedNameCall.Restriction> |
restrictions |
compiler, message, onlyApplyTo, onlyApplyToRegexp, whitelist, whitelistRegexp| Constructor and Description |
|---|
RestrictedNameCall(AbstractCompiler compiler,
Requirement requirement) |
| Modifier and Type | Method and Description |
|---|---|
protected ConformanceRules.ConformanceResult |
checkConformance(NodeTraversal t,
Node n) |
private static java.lang.String |
getNameFromValue(java.lang.String specName) |
private static java.lang.String |
getTypeFromValue(java.lang.String specName) |
check, report, shouldCheckConformanceprivate final com.google.common.collect.ImmutableList<ConformanceRules.RestrictedNameCall.Restriction> restrictions
RestrictedNameCall(AbstractCompiler compiler, Requirement requirement) throws CheckConformance.InvalidRequirementSpec
protected ConformanceRules.ConformanceResult checkConformance(NodeTraversal t, Node n)
checkConformance in class ConformanceRules.AbstractRuleprivate static java.lang.String getNameFromValue(java.lang.String specName)
private static java.lang.String getTypeFromValue(java.lang.String specName)