1 7 8 package com.sun.corba.se.internal.io; 9 10 public class IIOPInputStream { 11 private static native Object allocateNewObject(Class aclass, 12 Class initclass) 13 throws InstantiationException , IllegalAccessException ; 14 21 private static native void throwExceptionType(Class c, String message); 22 23 27 private static native void setObjectField(Object o, Class c, String fieldName, String fieldSig, Object v); 28 private static native void setBooleanField(Object o, Class c, String fieldName, String fieldSig, boolean v); 29 private static native void setByteField(Object o, Class c, String fieldName, String fieldSig, byte v); 30 private static native void setCharField(Object o, Class c, String fieldName, String fieldSig, char v); 31 private static native void setShortField(Object o, Class c, String fieldName, String fieldSig, short v); 32 private static native void setIntField(Object o, Class c, String fieldName, String fieldSig, int v); 33 private static native void setLongField(Object o, Class c, String fieldName, String fieldSig, long v); 34 private static native void setFloatField(Object o, Class c, String fieldName, String fieldSig, float v); 35 private static native void setDoubleField(Object o, Class c, String fieldName, String fieldSig, double v); 36 private static native void readObject(Object obj, Class asClass, Object ois); 37 38 private static native void setObjectFieldOpt(Object o, long fieldID, Object v); 39 private static native void setBooleanFieldOpt(Object o, long fieldID, boolean v); 40 private static native void setByteFieldOpt(Object o, long fieldID, byte v); 41 private static native void setCharFieldOpt(Object o, long fieldID, char v); 42 private static native void setShortFieldOpt(Object o, long fieldID, short v); 43 private static native void setIntFieldOpt(Object o, long fieldID, int v); 44 private static native void setLongFieldOpt(Object o, long fieldID, long v); 45 46 private static native void setFloatFieldOpt(Object o, long fieldID, float v); 47 private static native void setDoubleFieldOpt(Object o, long fieldID, double v); 48 } 49 | Popular Tags |