docs: private static <K, V> ObjectName calculateObjectName(AbstractJCache<K, V> cache, ObjectNameType objectNameType) {
        String cacheManagerName = mbeanSafe(cache.getCacheManager().getURI().toString());
        String cacheName = mbeanSafe(cache.getName());
  
        try {
           return new ObjectName("javax.cache:type=Cache" + objectNameType.objectName
                 + ",CacheManager=" + cacheManagerName
                 + ",Cache=" + cacheName);
        } catch (MalformedObjectNameException e) {
           throw new CacheException("Illegal ObjectName for Management Bean. " +
                 "CacheManager=[" + cacheManagerName + "], Cache=[" + cacheName + "]", e);
        }
     }