docs: @Override
      protected EvictionChecker createCacheEvictionChecker(int size, MaxSizePolicy maxSizePolicy) {
          if (maxSizePolicy == null) {
              throw new IllegalArgumentException("Max-Size policy cannot be null");
          }
  
          if (maxSizePolicy != MaxSizePolicy.ENTRY_COUNT) {
              throw new IllegalArgumentException("Invalid max-size policy "
                      + '(' + maxSizePolicy + ") for " + getClass().getName() + "! Only "
                      + MaxSizePolicy.ENTRY_COUNT + " is supported.");
          } else {
              return super.createCacheEvictionChecker(size, maxSizePolicy);
          }
      }