docs: @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();
      }