public static final String JNI_CLASS = "jclass";
public static final String JNI_STRING = "jstring";
public static final String JNI_ARRAY = "jarray";
public static final int DEFAULT_MEMORY_ALIGNMENT = 64;
public static final String NO_CRITICAL = "NO_CRITICAL";
<BUG>public static final String CRITICAL = "CRITICAL";
public static String getArrayElementType(Field field) {</BUG>
if (!field.getType().isArray())
throw new IllegalArgumentException(String.format(Messages.ERR_FIELD_WITH_TYPE_IS_NOT_AN_ARRAY,
field.getName(), field.getType().getName()));

public static final String JNI_CLASS = "jclass";
public static final String JNI_STRING = "jstring";
public static final String JNI_ARRAY = "jarray";
public static final int DEFAULT_MEMORY_ALIGNMENT = 64;
public static final String NO_CRITICAL = "NO_CRITICAL";
public static final String CRITICAL = "CRITICAL";
public static final boolean PASS_BY_VALUE = false;
public static final boolean PASS_BY_REFERENCE = true;
public static String getArrayElementType(Field field) {
if (!field.getType().isArray())
throw new IllegalArgumentException(String.format(Messages.ERR_FIELD_WITH_TYPE_IS_NOT_AN_ARRAY,
field.getName(), field.getType().getName()));
