docs: @SuppressWarnings("ConstantConditions")
      public static void checkEvictionConfig(EvictionConfig evictionConfig, boolean isNearCache) {
          if (evictionConfig == null) {
              throw new IllegalArgumentException("Eviction config cannot be null!");
          }
          EvictionPolicy evictionPolicy = evictionConfig.getEvictionPolicy();
          String comparatorClassName = evictionConfig.getComparatorClassName();
          EvictionPolicyComparator comparator = evictionConfig.getComparator();
  
          checkEvictionConfig(evictionPolicy, comparatorClassName, comparator, isNearCache);
      }