docs: public static java.lang.Short toShort(Object arg) throws NoSuchMethodException {
          if (arg instanceof java.lang.Integer) return boxToShort((short)unboxToInt(arg));
          if (arg instanceof java.lang.Long) return boxToShort((short)unboxToLong(arg));
          if (arg instanceof java.lang.Character) return boxToShort((short)unboxToChar(arg));
          if (arg instanceof java.lang.Byte) return boxToShort((short)unboxToByte(arg));
          if (arg instanceof java.lang.Short) return (java.lang.Short)arg;
          if (arg instanceof java.lang.Float) return boxToShort((short)unboxToFloat(arg));
          if (arg instanceof java.lang.Double) return boxToShort((short)unboxToDouble(arg));
          throw new NoSuchMethodException();
      }