Class MetricLimitCheck

java.lang.Object
org.ek9lang.compiler.phase5.MetricLimitCheck

final class MetricLimitCheck extends Object
THE shared steps of every Acceptable*OrError quality-metric check: find the symbol the metric belongs to (MetricSymbolOf, one null policy), squirrel the measured integer (RecordMetric, one encoding) and raise the error when it is over the limit (this). Hold them; do not re-derive a variant in a checker. One instance per error code; the message of each limit keeps its own wording, so it is supplied by the caller. Was three static helpers on this class (no-statics lane P2, 2026-10-29).