Class CheckConformance

  • All Implemented Interfaces:
    CompilerPass, NodeTraversal.Callback

    @GwtIncompatible("com.google.protobuf")
    public final class CheckConformance
    extends java.lang.Object
    implements NodeTraversal.Callback, CompilerPass
    Provides a framework for checking code against a set of user configured conformance rules. The rules are specified by the ConformanceConfig proto, which allows for both standard checks (forbidden properties, variables, or dependencies) and allow for more complex checks using custom rules than specify

    Conformance violations are both reported as compiler errors, and are also reported separately to the {cI gue@link ErrorManager}