Class CompletenessChecker


public final class CompletenessChecker extends Checker<Unit>
Pipeline step that checks all models in a Unit for structural completeness. Delegates rule evaluation to CompletenessValidator and maps each violation to a non-fatal ERROR diagnostic, enriched with source location from the unit's location registry.
  • Constructor Details

    • CompletenessChecker

      public CompletenessChecker()
  • Method Details

    • check

      protected void check(Unit unit, CompilationContext ctx)
      Description copied from class: Checker
      Perform the check. Must not modify input. Non-fatal issues should be reported via ctx.error() rather than thrown; throw (or call ctx.fatal()) only for unrecoverable failures.
      Specified by:
      check in class Checker<Unit>
      Parameters:
      unit - the value to inspect.
      ctx - compilation context for reporting diagnostics.