docs: public void setOptimizationOptions(Map<String, Boolean> options) {
          if (options == null) throw new IllegalArgumentException("provided option map must not be null");
          optimizationOptions = options;
      }