protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
writeClass(field.getKind() == Kind.OBJECT ? Object.class : field.getType()); } catch (ClassNotFoundException e) { throw new InvalidClassException("Class of field was unloaded"); return; writeClass(sc);
write(unshared ? ID_COLLECTION_EMPTY_UNSHARED : ID_COLLECTION_EMPTY); write(id); writeClass(getEnumSetElementType(obj)); instanceCache.put(obj, instanceSeq++); } else if (len <= 256) { write(len); write(id); writeClass(getEnumSetElementType(obj)); instanceCache.put(obj, instanceSeq++); for (Object o : elements) { writeShort(len); write(id); writeClass(getEnumSetElementType(obj)); instanceCache.put(obj, instanceSeq++); for (Object o : elements) { writeInt(len); write(id); writeClass(getEnumSetElementType(obj)); instanceCache.put(obj, instanceSeq++); for (Object o : elements) { write(id); switch (id) { case ID_CC_ENUM_MAP: writeClass(getEnumMapKeyType(obj)); break; write(id);
writeUTF(field.getName()); try { writeClass(field.getType()); } catch (ClassNotFoundException e) { throw new InvalidClassException("Class of field was unloaded"); writeClass(objClass.getSuperclass());
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
writeClass(field.getKind() == Kind.OBJECT ? Object.class : field.getType()); } catch (ClassNotFoundException e) { throw new InvalidClassException("Class of field was unloaded"); return; writeClass(sc);
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
writeClass(field.getKind() == Kind.OBJECT ? Object.class : field.getType()); } catch (ClassNotFoundException e) { throw new InvalidClassException("Class of field was unloaded"); return; writeClass(sc);
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
writeClass(field.getKind() == Kind.OBJECT ? Object.class : field.getType()); } catch (ClassNotFoundException e) { throw new InvalidClassException("Class of field was unloaded"); return; writeClass(sc);
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
protected void writeClassClass(final Class<?> classObj) throws IOException { write(ID_CLASS_CLASS); writeClass(classObj); // not cached }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }
protected void writeObjectArrayClass(final Class<?> objClass) throws IOException { write(ID_OBJECT_ARRAY_TYPE_CLASS); writeClass(objClass.getComponentType()); classCache.put(objClass, classSeq++); }