} else {
batchSize = listener.getBatchSize();
}
DataRecordIdentifier dataRecordIdentifier = storeAccessForExport
.getNextFreeDataRecordIdentifier();
ObjectAndItsClassInfo objectAndItsClassInfo =
/**/storeAccessForExport
.createGenericObjectReadingInStoreNotLazy(Store.IDENTIFIER_FOR_ROOT);
final StoreRoot4 storeRoot = (StoreRoot4) objectAndItsClassInfo
.getObject();
final int dataModelIdentifier = dataModelIdentifier(storeRoot);
// final Set<Long> dataRecordIdOfpersistedStaticSet =
// dataRecordIdOfpersistedStaticSet(storeRoot);
beginExportVisit(Version.JOAFIP_RELEASE, dataModelIdentifier,
dataRecordIdentifier.value);
exportStoreQue.initialize();
exportRoot(storeRoot);
storeAccessForExport.clearMemory();
int batchCount = 0;
numberExported = 0;
dataRecordIdentifier = exportStoreQue.pollFirst();
while (dataRecordIdentifier != null) {
// if (dataRecordIdOfpersistedStaticSet != null
// && dataRecordIdOfpersistedStaticSet
// .contains(dataRecordIdentifier.value)) {
// final ClassInfo classInfo = storeAccessForExport
// .getClassInfo(dataRecordIdentifier);
// storeAccessForExport.setStaticState(dataRecordIdentifier);
// exportStatic(classInfo, dataRecordIdentifier);
// } else {
objectAndItsClassInfo =
/**/storeAccessForExport
.createGenericObjectReadingInStoreNotLazy(dataRecordIdentifier);
final ClassInfo objectClassInfo = objectAndItsClassInfo.objectClassInfo;
if (exportPersistedClassByteCode) {
exportClass(objectClassInfo);
}
final Object object = objectAndItsClassInfo.getObject();
if (objectClassInfo.isStringType()) {
exportString(dataRecordIdentifier, (String) object);
} else if (objectClassInfo.isArrayType()) {
exportArray(dataRecordIdentifier, object, objectClassInfo);
} else if (objectClassInfo.isEnumType()) {