#include <rt_JClass.h>
Inheritance diagram for JClass:
Public Types | |
typedef boolean_t (JClass::* | UBFproc )(void *) |
enum | { primitivesLength = T_LONG + 1 } |
Public Methods | |
JObject* | getClassLoader () |
JObject* | getName () |
JInt | getModifiers () |
JArray* | getInterfaces () |
JClass* | getComponentType () |
JObject* | newInstance () |
JBoolean | isAssignableFrom (JClass *) |
boolean_t | isPrimitive () |
void | initRelativeNumbering () |
JObject* | bcNew () |
boolean_t | isArrayRef () |
boolean_t | isClassRef () |
boolean_t | isInterfaceRef () |
boolean_t | isPrimitiveType () |
boolean_t | isReferenceType () |
boolean_t | isVoidType () |
boolean_t | isAbstract () |
boolean_t | isValidMethod (int index) |
boolean_t | isValidField (int index) |
boolean_t | canWidenRef (JClass *T) |
boolean_t | isIdentityConvertible (JClass *) |
boolean_t | isAssignableTo (JClass *T, short recursionLevel = 1) |
boolean_t | isAssignableToClass (JClass *T) |
boolean_t | isAssignableToInterface (JClass *T) |
void* | vtbl (int i) |
struct JArrayClass* | findArrayClass (int dimension) |
void* | declaredMethodAddr (char *simpleName, char *descriptor) |
int | methodOffset (char *simpleName, char *descriptor) |
int | declaredFieldOffset (char *simpleName) |
void* | declaredFieldAddress (char *simpleName) |
RTmethodID | getMethodID (char *simpleName, char *descriptor) |
RTmethodID | getStaticMethodID (char *simpleName, char *descriptor) |
RTfieldID | getFieldID (char *simpleName, char *descriptor) |
RTfieldID | getStaticFieldID (char *simpleName, char *descriptor) |
void | _clinit_ () |
void | dump (int indentLevel, boolean_t isShallow) |
atype_enum | atype () |
void | atype (atype_enum) |
char* | name () |
JObject* | elementTypeName () |
JClassID | classID () |
ClassMetadata* | metadata () |
void | metadata (ClassMetadata *) |
void | flags (short) |
ArrayClassChunk* | acChunks () |
void | acChunks (ArrayClassChunk *) |
MethodMetadata* | methodMetadata (int index) |
FieldMetadata* | fieldMetadata (int index) |
boolean_t | Visit (JClassID) |
JArrayClass* | buildArrayClass (int dimensionNum) |
JArrayClass* | getArrayClass (int dimensionNum) |
JArray* | buildArray (int length) |
JArray* | buildPrimitiveArray (atype_enum, int length) |
JArray* | buildMultiArray (int dimsNum, int *lengths) |
int | countPublicFields () |
int | countDeclaredFields () |
JArray* | getPublicFields (JArray *) |
JArray* | getDeclaredFields (JArray *) |
JObject* | getPublicField (JObject *name) |
JObject* | getDeclaredField (JObject *name) |
int | countPublicCtors () |
int | countDeclaredCtors () |
JObject* | getPublicCtor (JArray *formals) |
JObject* | getDeclaredCtor (JArray *formals) |
JArray* | getPublicCtors (JArray *) |
JArray* | getDeclaredCtors (JArray *) |
int | countPublicMethods () |
int | countDeclaredMethods () |
JObject* | getDeclaredMethod (JObject *name, JArray *formals) |
JObject* | getPublicMethod (JObject *name, JArray *formals) |
JArray* | getPublicMethods (JArray *array) |
JArray* | getDeclaredMethods (JArray *) |
boolean_t | ubfSearch (void *) |
boolean_t | ubfInterfaceMethod (void *) |
void | traverseAll (UBFproc proc, void *context) |
void | traverseIntfs (UBFproc proc, void *context) |
void | traverseClasses (UBFproc proc, void *context) |
void | name (char *) |
Static Public Methods | |
void | init1 () |
void | init2 () |
void | printStats (char *&title) |
JClass* | superClass (JClass *) |
JClass* | toClass (JClassID) |
boolean_t | isValidID (int classID) |
JObject* | _new (char *&name) |
JClass* | findClass (aJChar *key, int keyLength) |
JClass* | findClassByString (JObject *String) |
JClass* | findClassByChars (char *chars) |
JClass* | getClass (aJChar *key, int keyLength) |
JClass* | getClassByString (JObject *String) |
JClass* | getClassByChars (char *chars) |
JClass* | _build (ClassMetadata *) |
Static Public Attributes | |
JClass* | primitives [primitivesLength] |
UClassMetadataHashTable* | hashTable |
Protected Types | |
typedef void (JClass::* | ADJACENTproc )(UBFSearch *) |
Protected Methods | |
void | traverseSupers (ADJACENTproc aproc, UBFproc uproc, void *context) |
void | adjacentAll (UBFSearch *ubf) |
void | adjacentIntfs (UBFSearch *ubf) |
void | adjacentClasses (UBFSearch *ubf) |
boolean_t | ubfSearchPubField (void *) |
boolean_t | ubfSearchPubMethod (void *) |
boolean_t | ubfGetPublicFields (void *v) |
boolean_t | ubfCountPublicFields (void *) |
boolean_t | ubfCountPublicMethods (void *) |
boolean_t | ubfGetPublicMethods (void *) |
boolean_t | ubfMethodID (void *) |
boolean_t | ubfFieldID (void *) |
void | walkFields (UBFproc, void *context) |
RTfieldID | _getFieldID (char *simpleName, char *descriptor, boolean_t isStatic) |
RTmethodID | _getMethodID (char *simpleName, char *descriptor, boolean_t isStatic) |
JClass* | arrayType (int &effectiveDims) |
JArrayClass* | _getArrayClass (int numDimensions) |
void | _getFields (ubfArrayContext &) |
boolean_t | isSameSignature (MethodMetadata *, JArray *formals) |
void** | vtbl0 () |
short | flags () |
void | dumpFlags (int indentLevel) |
void | addAdjacentInterfaces (UBFSearch *) |
void | copyVtbl (ClassMetadata *) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in JInterfaceClass, and JObjectClass.
|
|
|
Reimplemented in JArrayClass.
|
|
|
|
|
|
|
|
|
|
Reimplemented in JArrayClass.
|
|
|
|
|
|
|
|
|
Reimplemented in JArrayClass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in JArrayClass, JInterfaceClass, and JObjectClass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from JObject.
|
|
|
|
Reimplemented in JArrayClass.