AbstractConverter binaryConverter;
try {
binaryConverter = helperBinaryConversion.integerConverter;
binaryConverter.fromBinary(binary, offset);
} catch (BinaryConverterException exception) {
throw new HeapRecordableException(exception);
}
if (!binaryConverter.valueDefinedFromBinary) {
throw new HeapRecordableException(
"class name identifier value must be defined");
}
classNameIdentifier = (Integer) binaryConverter.objectFromBinary;
binaryConverter.objectFromBinary = null;// NOPMD
offset += HelperBinaryConversion.INT_BYTE_SIZE;
try {
binaryConverter = helperBinaryConversion.nullableAndTypedReferenceConverter;
binaryConverter.fromBinary(binary, offset);
} catch (BinaryConverterException exception) {
throw new HeapRecordableException(exception);
}
if (!binaryConverter.valueDefinedFromBinary) {
throw new HeapRecordableException(
"data record identifier value must be defined");
}
nextClassNameRecordDataRecordIdentifier = (DataRecordIdentifier)
/**/binaryConverter.objectFromBinary;
binaryConverter.objectFromBinary = null;// NOPMD