code: public static String format(final String messagePattern, final Object[] arguments) {
          return ParameterFormatter.format(messagePattern, arguments);
      }
docs: Replace placeholders in the given messagePattern with arguments.
  
  @param messagePattern the message pattern containing placeholders.
  @param arguments      the arguments to be used to replace placeholders.
  @return the formatted message.