CACAO
Public Member Functions | Static Private Attributes
java_lang_StackTraceElement Class Reference

GNU Classpath java/lang/StackTraceElement. More...

Inheritance diagram for java_lang_StackTraceElement:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_StackTraceElement (java_handle_t *h)
 
 java_lang_StackTraceElement (java_handle_t *h, java_handle_t *fileName, int32_t lineNumber, java_handle_t *declaringClass, java_handle_t *methodName, uint8_t isNative)
 
- 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_fileName = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
 
static const off_t offset_lineNumber = MEMORY_ALIGN(offset_fileName + SIZEOF_VOID_P, sizeof(int32_t))
 
static const off_t offset_declaringClass = MEMORY_ALIGN(offset_lineNumber + sizeof(int32_t), SIZEOF_VOID_P)
 
static const off_t offset_methodName = MEMORY_ALIGN(offset_declaringClass + SIZEOF_VOID_P, SIZEOF_VOID_P)
 
static const off_t offset_isNative = MEMORY_ALIGN(offset_methodName + 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/StackTraceElement.

Object layout:

0. object header

  1. java.lang.String fileName;
  2. int lineNumber;
  3. java.lang.String declaringClass;
  4. java.lang.String methodName;
  5. boolean isNative;

Definition at line 658 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_StackTraceElement::java_lang_StackTraceElement ( java_handle_t h)
inline

Definition at line 669 of file javaobjects.hpp.

java_lang_StackTraceElement::java_lang_StackTraceElement ( java_handle_t h,
java_handle_t fileName,
int32_t  lineNumber,
java_handle_t declaringClass,
java_handle_t methodName,
uint8_t  isNative 
)
inline

Definition at line 673 of file javaobjects.hpp.

Field Documentation

const off_t java_lang_StackTraceElement::offset_declaringClass = MEMORY_ALIGN(offset_lineNumber + sizeof(int32_t), SIZEOF_VOID_P)
staticprivate

Definition at line 664 of file javaobjects.hpp.

const off_t java_lang_StackTraceElement::offset_fileName = MEMORY_ALIGN(sizeof(java_object_t), SIZEOF_VOID_P)
staticprivate

Definition at line 662 of file javaobjects.hpp.

const off_t java_lang_StackTraceElement::offset_isNative = MEMORY_ALIGN(offset_methodName + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 666 of file javaobjects.hpp.

const off_t java_lang_StackTraceElement::offset_lineNumber = MEMORY_ALIGN(offset_fileName + SIZEOF_VOID_P, sizeof(int32_t))
staticprivate

Definition at line 663 of file javaobjects.hpp.

const off_t java_lang_StackTraceElement::offset_methodName = MEMORY_ALIGN(offset_declaringClass + SIZEOF_VOID_P, SIZEOF_VOID_P)
staticprivate

Definition at line 665 of file javaobjects.hpp.


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