docs: public static void checkMinimumArrayLength(String parameterName,
              int actualLength, int minimumLength) {
          if (actualLength < minimumLength) {
              throw Exceptions
                      .IllegalArgument(
                              "Array %s should have at least %d elements, but it only has %d",
                              parameterName, minimumLength, actualLength);
          }
      }