code: @Trivial
      public static String formatMethod(Method m) {
          if (m == null) {
              return "null";
          }
      
          StringBuilder sb = new StringBuilder();
          sb.append(m.getDeclaringClass().getName());
          sb.append(".");
          sb.append(m.getName());
      
          sb.append("(");
          sb.append(Arrays.stream(m.getParameterTypes()).map(Class::getSimpleName).collect(Collectors.joining(", ")));
          sb.append(")");
      
          return sb.toString();
      }
docs: Format a method for display in a log message
  <p>
  Uses the format:
  <p>
  {@code com.example.MyClass.InnerClass.myMethod(String, Map, MyBean)}
  <p>
  This is a compromise between including enough information to identify the method, while not being too verbose like {@code Method.toString()}
  
  @param m the method
  @return a string representation of the method