imm_union value;
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BOOLEAN:
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_CHAR:
/* Now box the primitive types. */
- java_handle_t* object = Primitive::box(f->parseddesc->decltype, value);
+ java_handle_t* object = Primitive::box(f->parseddesc->primitivetype, value);
return (jobject) object;
}
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BOOLEAN:
return (int32_t) _field_get_int(f, ho);
default:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
return (int32_t) _field_get_int(f, ho);
default:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_CHAR:
return (int32_t) _field_get_int(f, ho);
default:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_SHORT:
return (int32_t) _field_get_int(f, ho);
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_CHAR:
case PRIMITIVETYPE_SHORT:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_CHAR:
case PRIMITIVETYPE_SHORT:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_CHAR:
case PRIMITIVETYPE_SHORT:
/* check the field type and return the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_CHAR:
case PRIMITIVETYPE_SHORT:
types the value has to be retrieved from the wrapping
object */
- switch (df->parseddesc->decltype) {
+ switch (df->parseddesc->primitivetype) {
case PRIMITIVETYPE_BOOLEAN: {
int32_t val;
if ((sc == NULL) || !(sf = class_findfield(sc, utf_value, utf_Z)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BOOLEAN:
val = java_lang_Boolean(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield(sc, utf_value, utf_B)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield(sc, utf_value, utf_C)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_CHAR:
val = java_lang_Character(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield_by_name(sc, utf_value)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield_by_name(sc, utf_value)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield_by_name(sc, utf_value)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield_by_name(sc, utf_value)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
if ((sc == NULL) || !(sf = class_findfield_by_name(sc, utf_value)))
break;
- switch (sf->parseddesc->decltype) {
+ switch (sf->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
val = java_lang_Byte(hvalue).get_value();
break;
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BOOLEAN:
_field_set_int(f, ho, value);
break;
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_BYTE:
case PRIMITIVETYPE_SHORT:
case PRIMITIVETYPE_INT:
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_CHAR:
case PRIMITIVETYPE_INT:
_field_set_int(f, ho, value);
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_SHORT:
case PRIMITIVETYPE_INT:
_field_set_int(f, ho, value);
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_INT:
_field_set_int(f, ho, value);
break;
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_LONG:
_field_set_long(f, ho, value);
break;
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_FLOAT:
_field_set_float(f, ho, value);
break;
/* check the field type and set the value */
- switch (f->parseddesc->decltype) {
+ switch (f->parseddesc->primitivetype) {
case PRIMITIVETYPE_DOUBLE:
_field_set_double(f, ho, value);
break;