docs: public static Object invokeMethod(Method method, Object target, Object... args) {
          try {
              return method.invoke(target, args);
          } catch (Exception ex) {
              handleReflectionException(ex);
          }
          throw new IllegalStateException("Should never get here");
      }