CACAO
Public Member Functions | Static Private Attributes
java_lang_reflect_Constructor Class Reference

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

Inheritance diagram for java_lang_reflect_Constructor:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_reflect_Constructor (java_handle_t *h)
 
 java_lang_reflect_Constructor (methodinfo *m)
 
java_handle_tnew_instance (java_handle_objectarray_t *args)
 Constructs a Java object with the given java.lang.reflect.Constructor. More...
 
int32_t get_flag () const
 
java_handle_tget_cons () const
 
void set_cons (java_handle_t *value)
 
methodinfoget_method () const
 
int32_t get_override () 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_flag = MEMORY_ALIGN(sizeof(java_object_t), sizeof(int32_t))
 
static const off_t offset_p = MEMORY_ALIGN(offset_flag + sizeof(int32_t), SIZEOF_VOID_P)
 
static const off_t offset_cons = MEMORY_ALIGN(offset_p + 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/Constructor.

Object layout:

0. object header

  1. boolean flag;
  2. gnu.java.lang.reflect.MethodSignatureParser p;
  3. java.lang.reflect.VMConstructor cons;

Definition at line 1149 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_reflect_Constructor::java_lang_reflect_Constructor ( java_handle_t h)
inline

Definition at line 1158 of file javaobjects.hpp.

java_lang_reflect_Constructor::java_lang_reflect_Constructor ( methodinfo m)
inline

Definition at line 1176 of file javaobjects.hpp.

Member Function Documentation

java_handle_t * java_lang_reflect_Constructor::get_cons ( ) const
inline

Definition at line 1199 of file javaobjects.hpp.

int32_t java_lang_reflect_Constructor::get_flag ( ) const
inline

Definition at line 1194 of file javaobjects.hpp.

methodinfo * java_lang_reflect_Constructor::get_method ( ) const
inline

Definition at line 1211 of file javaobjects.hpp.

int32_t java_lang_reflect_Constructor::get_override ( ) const
inline

Definition at line 1217 of file javaobjects.hpp.

java_handle_t * java_lang_reflect_Constructor::new_instance ( java_handle_objectarray_t args)

Constructs a Java object with the given java.lang.reflect.Constructor.

Parameters
argsConstructor arguments.
Returns
Handle to Java object.

Definition at line 121 of file javaobjects.cpp.

void java_lang_reflect_Constructor::set_cons ( java_handle_t value)
inline

Definition at line 1205 of file javaobjects.hpp.

Field Documentation

const off_t java_lang_reflect_Constructor::offset_cons = MEMORY_ALIGN(offset_p + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 1155 of file javaobjects.hpp.

const off_t java_lang_reflect_Constructor::offset_flag = MEMORY_ALIGN(sizeof(java_object_t), sizeof(int32_t))
staticprivate

Definition at line 1153 of file javaobjects.hpp.

const off_t java_lang_reflect_Constructor::offset_p = MEMORY_ALIGN(offset_flag + sizeof(int32_t), SIZEOF_VOID_P)
staticprivate

Definition at line 1154 of file javaobjects.hpp.


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