docs: public static void checkArrayLength(String parameterName, int actualLength,
              int expectedLength) {
          if (actualLength != expectedLength) {
              throw Exceptions.IllegalArgument(
                      "Array %s should have %d elements, not %d", parameterName,
                      expectedLength, actualLength);
          }
      }