code: static ObjectName createObjectName(final String domain, final PathAddress pathAddress) {
          return createObjectName(domain, pathAddress, null);
      }
docs: Creates an ObjectName representation of a {@link PathAddress}.
  @param domain the JMX domain to use for the ObjectName. Cannot be {@code null}
  @param pathAddress the address. Cannot be {@code null}
  @return the ObjectName. Will not return {@code null}