docs: static void checkMapMergePolicy(MapConfig mapConfig, MergePolicyProvider mergePolicyProvider) {
          String mergePolicyClassName = mapConfig.getMergePolicyConfig().getPolicy();
          Object mergePolicyInstance = getMergePolicyInstance(mergePolicyProvider, mergePolicyClassName);
          List<Class> requiredMergeTypes = checkMergePolicy(mapConfig, mergePolicyInstance);
          if (!mapConfig.isStatisticsEnabled() && requiredMergeTypes != null) {
              checkMapMergePolicyWhenStatisticsAreDisabled(mergePolicyClassName, requiredMergeTypes);
          }
      }