#include <rt_ClassMetadata.h>
Public Types | |
enum | { kIsNameInternedMask = 1 << 0, kAreConstantStringsInternedMask = 1 << 1 } |
enum | init_enum { kIsNotInitialized = 0, kIsInitialized, kIsInitializing } |
enum | { kFlagsIsArrayMask = 1 << 0, kFlagsIsInterfaceMask = 1 << 1, kFlagsIsClassMask = 1 << 2, kFlagsIsPrimitiveMask = 1 << 3 } |
Public Methods | |
ClassMetadata ( char *_name, int _typeflag, int _vtblNum, void **_vtbl, int _modifiers, size_t _instanceSize, ClassMetadata *_superClass, int _siNum, ClassMetadata **_si, int _mNum, MethodMetadata *_m, int _fNum, FieldMetadata *_f, int _sNum, mdString *_s) | |
boolean_t | isArrayRef () |
boolean_t | isInterfaceRef () |
boolean_t | isClassRef () |
boolean_t | isPrimitive () |
boolean_t | isNameInterned () |
boolean_t | areStringsInterned () |
void | dump (int indentLevel) |
void | verify () |
void | intern () |
void | internLiteralStrings () |
MethodMetadata* | findMethod (char *name, char *descriptor) |
JClass* | getClass () |
char* | className () |
Public Attributes | |
mdString | name |
short | flags |
short | classID |
JClass* | jclass |
int | typeFlag |
int | vtblNum |
void** | vtbl |
int | modifiers |
init_enum | isInitialized |
size_t | instanceSize |
ClassMetadata* | superClass |
int | superintfsNum |
ClassMetadata** | superintfs |
int | methodsNum |
MethodMetadata* | methods |
int | fieldsNum |
FieldMetadata* | fields |
int | stringsNum |
mdString* | strings |
Static Public Methods | |
boolean_t | isArrayRef (int flags) |
boolean_t | isInterfaceRef (int flags) |
boolean_t | isClassRef (int flags) |
boolean_t | isPrimitive (int flags) |
|
kIsNotInitialized | |
kIsInitialized | |
kIsInitializing |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|