docs: public static Ordering definedBy(
              Class<? extends Ordering.Factory> factoryClass, Description annotatedTestClass)
              throws InvalidOrderingException {
          if (factoryClass == null) {
              throw new NullPointerException("factoryClass cannot be null");
          }
          if (annotatedTestClass == null) {
              throw new NullPointerException("annotatedTestClass cannot be null");
          }
  
          Ordering.Factory factory;
          try {
              Constructor<? extends Ordering.Factory> constructor = factoryClass.getConstructor();
              factory = constructor.newInstance();
          } catch (NoSuchMethodException e) {
              throw new InvalidOrderingException(String.format(
                      CONSTRUCTOR_ERROR_FORMAT,
                      getClassName(factoryClass),
                      factoryClass.getSimpleName()));
          } catch (Exception e) {
              throw new InvalidOrderingException(
                      "Could not create ordering for " + annotatedTestClass, e);
          }
          return definedBy(factory, annotatedTestClass);
      }