oos.writeFields();
}
static void readSlotWithDefaultMethod(ClassMetaDataSlot slot, short[] fieldsKey, ObjectInput input, Object obj) throws IOException, ClassNotFoundException
{
FieldsContainer container = new FieldsContainer(slot);
container.readMyself(input);
ClassMetadataField[] fields = slot.getFields();
ObjectInputStream.GetField getField = container.createGet();
short numberOfFields = (short)fieldsKey.length;
if (isDebug)
{
log.debug("readSlotWithDefaultMethod slot=" + slot.getSlotClass().getName() + " and " + numberOfFields + " fields");