objectAndPersistInfo.getObject(), fieldInfo,
checkAssertNotNull);
} catch (NullFieldException exception) {
throw new ObjectIOException(exception);
}
ClassInfo fieldType;
try {
fieldType = fieldInfo.getFieldTypeInfo();
} catch (ClassInfoException exception) {
throw new ObjectIOException(exception);
}
final ClassInfo fieldValuetype = getFieldValueType(fieldValue);
final ObjectAndPersistInfo fieldAndPersistInfo = objectIOManager
.getOrCreateObjectPersistInfoOfObject(fieldValue, null,
fieldValuetype, true ^ fieldType.isBasicType());
currentValue[index++] = new ObjectClassInfoAndDeclared(// NOPMD
fieldAndPersistInfo, fieldType);