Interface CheckConformance.Rule

    • Method Detail

      • getPrecondition

        default @Nullable CheckConformance.Precondition getPrecondition()
        Return a precondition for this rule.

        This method will only be called once (per rule) during the creation of the CheckConformance pass. Therefore, the return must be constant.

        Returning null means that there is no precondition. This is convenient, but can be a major performance hit.