CACAO
Public Member Functions | Static Private Attributes
java_lang_reflect_VMField Class Reference

GNU Classpath java/lang/reflect/VMField. More...

Inheritance diagram for java_lang_reflect_VMField:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_reflect_VMField (java_handle_t *h)
 
 java_lang_reflect_VMField (fieldinfo *f)
 
classinfoget_clazz () const
 
int32_t get_slot () const
 
java_handle_bytearray_tget_annotations () const
 
java_handle_tget_declaredAnnotations () const
 
java_handle_tget_f () const
 
void set_clazz (classinfo *value)
 
void set_name (java_handle_t *value)
 
void set_slot (int32_t value)
 
void set_annotations (java_handle_bytearray_t *value)
 
void set_declaredAnnotations (java_handle_t *value)
 
void set_f (java_handle_t *value)
 
fieldinfoget_field () const
 
- Public Member Functions inherited from java_lang_Object
 java_lang_Object ()
 
 java_lang_Object (java_handle_t *h)
 
virtual ~java_lang_Object ()
 
virtual java_handle_tget_handle () const
 
vftbl_tget_vftbl () const
 
classinfoget_Class () const
 
int32_t get_hashcode () const
 
bool is_null () const
 
bool is_non_null () const
 

Static Private Attributes

static const off_t offset_clazz = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
 
static const off_t offset_name = MEMORY_ALIGN(offset_clazz + SIZEOF_VOID_P, SIZEOF_VOID_P)
 
static const off_t offset_slot = MEMORY_ALIGN(offset_name + SIZEOF_VOID_P, sizeof(int32_t))
 
static const off_t offset_annotations = MEMORY_ALIGN(offset_slot + sizeof(int32_t), SIZEOF_VOID_P)
 
static const off_t offset_declaredAnnotations = MEMORY_ALIGN(offset_annotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
 
static const off_t offset_f = MEMORY_ALIGN(offset_declaredAnnotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
 

Additional Inherited Members

- Protected Attributes inherited from java_lang_Object
java_handle_t_handle
 
- Private Member Functions inherited from FieldAccess
template<>
java_handle_tget (java_handle_t *h, const off_t offset)
 
template<>
void set (java_handle_t *h, const off_t offset, java_handle_t *value)
 
template<>
java_handle_tget_volatile (java_handle_t *h, const off_t offset)
 
template<>
void set_volatile (java_handle_t *h, const off_t offset, java_handle_t *value)
 
- Static Private Member Functions inherited from FieldAccess
template<class T >
static T get (java_handle_t *h, const off_t offset)
 
template<class T >
static void set (java_handle_t *h, const off_t offset, T value)
 
template<class T >
static T get_volatile (java_handle_t *h, const off_t offset)
 
template<class T >
static void set_volatile (java_handle_t *h, const off_t offset, T value)
 

Detailed Description

GNU Classpath java/lang/reflect/VMField.

Object layout:

0. object header

  1. java.lang.Class clazz;
  2. java.lang.String name;
  3. int slot;
  4. byte[] annotations;
  5. java.lang.Map declaredAnnotations;
  6. java.lang.reflect.Field f;

Definition at line 1236 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_reflect_VMField::java_lang_reflect_VMField ( java_handle_t h)
inline

Definition at line 1248 of file javaobjects.hpp.

java_lang_reflect_VMField::java_lang_reflect_VMField ( fieldinfo f)
inline

Definition at line 1271 of file javaobjects.hpp.

Member Function Documentation

java_handle_bytearray_t * java_lang_reflect_VMField::get_annotations ( ) const
inline

Definition at line 1299 of file javaobjects.hpp.

classinfo * java_lang_reflect_VMField::get_clazz ( ) const
inline

Definition at line 1289 of file javaobjects.hpp.

java_handle_t * java_lang_reflect_VMField::get_declaredAnnotations ( ) const
inline

Definition at line 1304 of file javaobjects.hpp.

java_handle_t * java_lang_reflect_VMField::get_f ( ) const
inline

Definition at line 1309 of file javaobjects.hpp.

fieldinfo * java_lang_reflect_VMField::get_field ( ) const
inline

Definition at line 1345 of file javaobjects.hpp.

int32_t java_lang_reflect_VMField::get_slot ( ) const
inline

Definition at line 1294 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_annotations ( java_handle_bytearray_t value)
inline

Definition at line 1330 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_clazz ( classinfo value)
inline

Definition at line 1315 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_declaredAnnotations ( java_handle_t value)
inline

Definition at line 1335 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_f ( java_handle_t value)
inline

Definition at line 1340 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_name ( java_handle_t value)
inline

Definition at line 1320 of file javaobjects.hpp.

void java_lang_reflect_VMField::set_slot ( int32_t  value)
inline

Definition at line 1325 of file javaobjects.hpp.

Field Documentation

const off_t java_lang_reflect_VMField::offset_annotations = MEMORY_ALIGN(offset_slot + sizeof(int32_t), SIZEOF_VOID_P)
staticprivate

Definition at line 1243 of file javaobjects.hpp.

const off_t java_lang_reflect_VMField::offset_clazz = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
staticprivate

Definition at line 1240 of file javaobjects.hpp.

const off_t java_lang_reflect_VMField::offset_declaredAnnotations = MEMORY_ALIGN(offset_annotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1244 of file javaobjects.hpp.

const off_t java_lang_reflect_VMField::offset_f = MEMORY_ALIGN(offset_declaredAnnotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1245 of file javaobjects.hpp.

const off_t java_lang_reflect_VMField::offset_name = MEMORY_ALIGN(offset_clazz + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1241 of file javaobjects.hpp.

const off_t java_lang_reflect_VMField::offset_slot = MEMORY_ALIGN(offset_name + SIZEOF_VOID_P, sizeof(int32_t))
staticprivate

Definition at line 1242 of file javaobjects.hpp.


The documentation for this class was generated from the following file: