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