docs: @Override
      public CacheConfiguration<K, V> setTypes(Class<K> keyType, Class<V> valueType) {
          if (keyType == null || valueType == null) {
              throw new NullPointerException("keyType and/or valueType can't be null");
          }
          setKeyType(keyType);
          setValueType(valueType);
          return this;
      }