Package com.google.javascript.jscomp
Class ConformanceRules.ConformanceResult
java.lang.Object
com.google.javascript.jscomp.ConformanceRules.ConformanceResult
- Enclosing class:
ConformanceRules
Classes extending AbstractRule must return ConformanceResult from their checkConformance
implementation. For simple rules, the constants CONFORMANCE, POSSIBLE_VIOLATION, VIOLATION are
sufficient. However, for some rules additional clarification specific to the violation instance
is helpful, for that, an instance of this class can be created to associate a note with the
violation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConformanceRules.ConformanceResult
final String
static final ConformanceRules.ConformanceResult
static final ConformanceRules.ConformanceResult
-
Method Summary
-
Field Details
-
level
-
note
-
CONFORMANCE
-
POSSIBLE_VIOLATION
-
VIOLATION
-