docs: private static Method getMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
          try {
              return clazz.getMethod(name, paramTypes);
          } catch (NoSuchMethodException e) {
              return getMethod0(clazz, name, paramTypes);
          }
      }