docs: static void checkSignedShort(final int value, final String msg) {
          if (value < Short.MIN_VALUE || value > Short.MAX_VALUE) {
              throw new IllegalArgumentException(msg
                      + " (must be a signed short): " + value);
          }
      }