226227228229230231232233234235236
JiapiClass jc = new Loader().loadClass("java.lang.Byte"); JiapiMethod jm = jc.getDeclaredMethod("byteValue", new String[0]); il.add(factory.cast("java.lang.Byte")); il.add(factory.invoke(jm)); } catch(Exception e) { e.printStackTrace(); } }
239240241242243244245246247248249
JiapiClass jc = new Loader().loadClass("java.lang.Float"); JiapiMethod jm = jc.getDeclaredMethod("floatValue", new String[0]); il.add(factory.cast("java.lang.Float")); il.add(factory.invoke(jm)); } catch(Exception e) { e.printStackTrace(); } }
252253254255256257258259260261262
JiapiClass jc = new Loader().loadClass("java.lang.Double"); JiapiMethod jm = jc.getDeclaredMethod("doubleValue", new String[0]); il.add(factory.cast("java.lang.Double")); il.add(factory.invoke(jm)); } catch(Exception e) { e.printStackTrace(); } }