code: protected String getParameterAsString(Object arg) {
          if (arg instanceof String) {
              return (String) arg;
          }
          return arg == null ? "null" : arg.toString();
      }
docs: Convert single parameter to String.
  
  This method is called when invoked method takes multiple arguments.
  
  @param arg method parameter
  @return string representation