field.getName() + "_length", field.getName() + "Arr"));
if (cppRawTypeField.isMemoryAligned()) {
generateMemoryAlignedFieldInitStatement(cppRawTypeField, jniArrFieldName);
} else {
String typeCast = String.format("(%s)", field.getNativeType());
<BUG>sb.append(String.format(
cppRawTypeField.isCriticalArray() ? CppSyntax.GET_ARRAY_CRITICAL_ELEMENTS : CppSyntax.GET_ARRAY_ELEMENTS_STR,
cppRawTypeField.getName(), typeCast, cppRawTypeField.getTypeOfArrayElement(), jniArrFieldName

));
}</BUG>
}

field.getName() + "_length", field.getName() + "Arr"));
if (cppRawTypeField.isMemoryAligned()) {
generateMemoryAlignedFieldInitStatement(cppRawTypeField, jniArrFieldName);
} else {
String typeCast = String.format("(%s)", field.getNativeType());
String getArrayStatement = cppRawTypeField.isCriticalArray() ?
String.format(CppSyntax.GET_ARRAY_CRITICAL_ELEMENTS, cppRawTypeField.getName(), typeCast, jniArrFieldName) :
String.format(CppSyntax.GET_ARRAY_ELEMENTS_STR,
cppRawTypeField.getName(), typeCast, cppRawTypeField.getTypeOfArrayElement(), jniArrFieldName);
sb.append(getArrayStatement);
