CACAO
Public Member Functions | Static Public Member Functions | Static Private Attributes
java_lang_ClassLoader Class Reference

GNU Classpath java/lang/ClassLoader. More...

Inheritance diagram for java_lang_ClassLoader:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_ClassLoader (java_handle_t *h)
 
java_handle_tget_parent () 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 Public Member Functions

static java_handle_tinvoke_getSystemClassLoader ()
 Invokes the static Java method getSystemClassLoader(). More...
 

Static Private Attributes

static const off_t offset_definedPackages = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
 
static const off_t offset_parent = MEMORY_ALIGN(offset_definedPackages + 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/ClassLoader.

Object layout:

0. object header

  1. java.util.HashMap definedPackages
  2. java.lang.ClassLoader parent [other fields are not used]

Definition at line 623 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_ClassLoader::java_lang_ClassLoader ( java_handle_t h)
inline

Definition at line 631 of file javaobjects.hpp.

Member Function Documentation

java_handle_t * java_lang_ClassLoader::get_parent ( ) const
inline

Definition at line 640 of file javaobjects.hpp.

java_handle_t * java_lang_ClassLoader::invoke_getSystemClassLoader ( )
static

Invokes the static Java method getSystemClassLoader().

Returns
Return value of the invocation or NULL in case of an exception.

Definition at line 51 of file javaobjects.cpp.

Field Documentation

const off_t java_lang_ClassLoader::offset_definedPackages = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
staticprivate

Definition at line 627 of file javaobjects.hpp.

const off_t java_lang_ClassLoader::offset_parent = MEMORY_ALIGN(offset_definedPackages + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 628 of file javaobjects.hpp.


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