docs: public ChronicleMapBuilder<K, V> averageValue(V averageValue) {
          Class<?> valueClass = averageValue.getClass();
          if (BytesMarshallable.class.isAssignableFrom(valueClass) &&
                  valueBuilder.tClass.isInterface()) {
              if (Serializable.class.isAssignableFrom(valueClass))
                  LOG.warn("BytesMarshallable " + valueClass + " will be serialized as Serializable as the value class is an interface");
              else
                  throw new IllegalArgumentException("Using BytesMarshallable and an interface value type not supported");
          }
          Objects.requireNonNull(averageValue);
          checkSizeIsStaticallyKnown(valueBuilder, "Value");
          this.averageValue = averageValue;
          sampleValue = null;
          averageValueSize = UNDEFINED_DOUBLE_CONFIG;
          return this;
      }