docs: public static Method createMethod(Class<?> clazz, String methodName, Class<?>... params) {
      try {
        return clazz.getMethod(methodName, params);
      } catch (NoSuchMethodException | SecurityException e) {
        throw new IllegalArgumentException(e);
      }
    }