#include "j2s_runtime/rt_stats.h"
Go to the source code of this file.
Compounds | |
class | JField |
Defines | |
#define | SET_FROM_TO(_from, _to) |
#define | SET_FROM_EXC(_from) |
#define | GET_FROM_TO(_from, _to) |
#define | GET_TO_EXC(_to) |
#define | GET_REF_FROM(_from) |
#define | GET_REF_EXC() |
#define | SET_REF_FROM(_from) |
#define | JFIELD(x) ((JField *) (x)) |
#define | _SET_PRIM(X) |
#define | _GET_PRIM(X) |
Functions | |
_SET_PRIM (Boolean) _SET_PRIM(Byte) _SET_PRIM(Char) _SET_PRIM(Short) _SET_PRIM(Int) _SET_PRIM(Long) _SET_PRIM(Float) _SET_PRIM(Double) inline void JField | |
_GET_PRIM (Boolean) _GET_PRIM(Byte) _GET_PRIM(Char) _GET_PRIM(Short) _GET_PRIM(Int) _GET_PRIM(Long) _GET_PRIM(Float) _GET_PRIM(Double) inline JObject *JField | |
TD_DECL_PROC_1 (Field_init, void, JObject*) |
|
Initial value:
\ J##_to get##_to##_from (JObject *o)\ { return (J##_to) _get##_from(o); }
|
Initial value:
|
Initial value:
\ JReference getReference##_from (JObject *o)\ { return UWrap::build##_from(_get##_from(o)); }
|
Initial value:
|
|
Initial value:
|
Initial value:
\ void set##_from##_to (JObject *o, J##_from newvalue)\ { _set##_to(o, (J##_to) newvalue); }
|
Initial value:
\ void setReference##_from (JObject *obj, JReference newvalue)\ { _set##_from(obj, UnWrap::##_from(newvalue)); }
|
Initial value:
\ inline J##X JField::_get##X (JObject *o)\ {\ if(isStatic() == B_TRUE) {\ Stats::Field_get_static_called();\ hidden()->_clinit_(clazz());\ return ::get##X##StaticField((void *) slot());\ } else {\ return ::get##X##Field(o, slot());\ }\ }
|
Initial value:
\ inline void JField::_set##X (JObject *o, J##X v)\ {\ if(isStatic() == B_TRUE) {\ Stats::Field_set_static_called();\ hidden()->_clinit_(clazz());\ ::set##X##StaticField(v, (void *) slot());\ }else {\ ::set##X##Field(o, slot(), v);\ }\ }
|
|
|