docs: public void addValueAssertion(ValueAssertion assertion) {
      Preconditions.checkState(
          resolvedValue == null,
          "ValueAssertions should only be registered if the value is not yet computed.");
      assertion.next = valueAssertion;
      valueAssertion = assertion;
    }