docs: public static Method getDeclaredMethod(Class<?> clazz, String name, Class<?>... params) {
          try {
              return clazz.getDeclaredMethod(name, params);
          } catch (Exception e) {
              throw new IllegalArgumentException("Could not access method: " + name + " on " + clazz, e);
          }
      }