docs: static PathAddress resolvePathAddress(final ObjectName domainRoot, final Resource rootResource, final ObjectName name) {
          String domain = domainRoot.getDomain();
          if (!name.getDomain().equals(domain)) {
              return null;
          }
          if (name.equals(domainRoot)) {
              return PathAddress.EMPTY_ADDRESS;
          }
          final Hashtable<String, String> properties = name.getKeyPropertyList();
          return searchPathAddress(PathAddress.EMPTY_ADDRESS, rootResource, properties);
      }