CACAO
Public Member Functions | Static Private Attributes
java_lang_reflect_VMConstructor Class Reference

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

Inheritance diagram for java_lang_reflect_VMConstructor:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_reflect_VMConstructor (java_handle_t *h)
 
 java_lang_reflect_VMConstructor (methodinfo *m)
 
classinfoget_clazz () const
 
int32_t get_slot () const
 
java_handle_bytearray_tget_annotations () const
 
java_handle_bytearray_tget_parameterAnnotations () const
 
java_handle_tget_declaredAnnotations () const
 
java_handle_tget_cons () const
 
void set_clazz (classinfo *value)
 
void set_slot (int32_t value)
 
void set_annotations (java_handle_bytearray_t *value)
 
void set_parameterAnnotations (java_handle_bytearray_t *value)
 
void set_declaredAnnotations (java_handle_t *value)
 
void set_cons (java_handle_t *value)
 
methodinfoget_method ()
 
- 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_slot = MEMORY_ALIGN(offset_clazz + 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_parameterAnnotations = MEMORY_ALIGN(offset_annotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
 
static const off_t offset_declaredAnnotations = MEMORY_ALIGN(offset_parameterAnnotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
 
static const off_t offset_cons = 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/VMConstructor.

Object layout:

0. object header

  1. java.lang.Class clazz;
  2. int slot;
  3. byte[] annotations;
  4. byte[] parameterAnnotations;
  5. java.util.Map declaredAnnotations;
  6. java.lang.reflect.Constructor cons;

Definition at line 1016 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_reflect_VMConstructor::java_lang_reflect_VMConstructor ( java_handle_t h)
inline

Definition at line 1028 of file javaobjects.hpp.

java_lang_reflect_VMConstructor::java_lang_reflect_VMConstructor ( methodinfo m)
inline

Definition at line 1052 of file javaobjects.hpp.

Member Function Documentation

java_handle_bytearray_t * java_lang_reflect_VMConstructor::get_annotations ( ) const
inline

Definition at line 1080 of file javaobjects.hpp.

classinfo * java_lang_reflect_VMConstructor::get_clazz ( ) const
inline

Definition at line 1070 of file javaobjects.hpp.

java_handle_t * java_lang_reflect_VMConstructor::get_cons ( ) const
inline

Definition at line 1095 of file javaobjects.hpp.

java_handle_t * java_lang_reflect_VMConstructor::get_declaredAnnotations ( ) const
inline

Definition at line 1090 of file javaobjects.hpp.

methodinfo * java_lang_reflect_VMConstructor::get_method ( )
inline

Definition at line 1130 of file javaobjects.hpp.

java_handle_bytearray_t * java_lang_reflect_VMConstructor::get_parameterAnnotations ( ) const
inline

Definition at line 1085 of file javaobjects.hpp.

int32_t java_lang_reflect_VMConstructor::get_slot ( ) const
inline

Definition at line 1075 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_annotations ( java_handle_bytearray_t value)
inline

Definition at line 1110 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_clazz ( classinfo value)
inline

Definition at line 1100 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_cons ( java_handle_t value)
inline

Definition at line 1125 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_declaredAnnotations ( java_handle_t value)
inline

Definition at line 1120 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_parameterAnnotations ( java_handle_bytearray_t value)
inline

Definition at line 1115 of file javaobjects.hpp.

void java_lang_reflect_VMConstructor::set_slot ( int32_t  value)
inline

Definition at line 1105 of file javaobjects.hpp.

Field Documentation

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

Definition at line 1022 of file javaobjects.hpp.

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

Definition at line 1020 of file javaobjects.hpp.

const off_t java_lang_reflect_VMConstructor::offset_cons = MEMORY_ALIGN(offset_declaredAnnotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1025 of file javaobjects.hpp.

const off_t java_lang_reflect_VMConstructor::offset_declaredAnnotations = MEMORY_ALIGN(offset_parameterAnnotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1024 of file javaobjects.hpp.

const off_t java_lang_reflect_VMConstructor::offset_parameterAnnotations = MEMORY_ALIGN(offset_annotations + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1023 of file javaobjects.hpp.

const off_t java_lang_reflect_VMConstructor::offset_slot = MEMORY_ALIGN(offset_clazz + SIZEOF_VOID_P, sizeof(int32_t))
staticprivate

Definition at line 1021 of file javaobjects.hpp.


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