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;
for (short i = 0; i < numberOfFields; i++) {
ClassMetadataField classMetadata = slot.getFields()[fieldsKey[i]];
Field field = classMetadata.getField();