Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

JClass Struct Reference

#include <rt_JClass.h>

Inheritance diagram for JClass:

JObject JArrayClass JInterfaceClass JObjectClass JPrimitiveClass List of all members.

Public Types

typedef boolean_t (JClass::* UBFproc )(void *)
enum  {
  primitivesLength = T_LONG + 1
}

Public Methods

JObjectgetClassLoader ()
JObjectgetName ()
JInt getModifiers ()
JArraygetInterfaces ()
JClass* getComponentType ()
JObjectnewInstance ()
JBoolean isAssignableFrom (JClass *)
boolean_t isPrimitive ()
void initRelativeNumbering ()
JObjectbcNew ()
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 JArrayClassfindArrayClass (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 ()
JObjectelementTypeName ()
JClassID classID ()
ClassMetadatametadata ()
void metadata (ClassMetadata *)
void flags (short)
ArrayClassChunkacChunks ()
void acChunks (ArrayClassChunk *)
MethodMetadatamethodMetadata (int index)
FieldMetadatafieldMetadata (int index)
boolean_t Visit (JClassID)
JArrayClassbuildArrayClass (int dimensionNum)
JArrayClassgetArrayClass (int dimensionNum)
JArraybuildArray (int length)
JArraybuildPrimitiveArray (atype_enum, int length)
JArraybuildMultiArray (int dimsNum, int *lengths)
int countPublicFields ()
int countDeclaredFields ()
JArraygetPublicFields (JArray *)
JArraygetDeclaredFields (JArray *)
JObjectgetPublicField (JObject *name)
JObjectgetDeclaredField (JObject *name)
int countPublicCtors ()
int countDeclaredCtors ()
JObjectgetPublicCtor (JArray *formals)
JObjectgetDeclaredCtor (JArray *formals)
JArraygetPublicCtors (JArray *)
JArraygetDeclaredCtors (JArray *)
int countPublicMethods ()
int countDeclaredMethods ()
JObjectgetDeclaredMethod (JObject *name, JArray *formals)
JObjectgetPublicMethod (JObject *name, JArray *formals)
JArraygetPublicMethods (JArray *array)
JArraygetDeclaredMethods (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]
UClassMetadataHashTablehashTable

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 *)


Detailed Description


Member Typedef Documentation

typedef void (JClass::* JClass::ADJACENTproc)(UBFSearch *) [protected]

typedef boolean_t (JClass::* JClass::UBFproc)(void *)


Enumeration Value Documentation

JClass::primitivesLength = T_LONG + 1


Member Function Documentation

boolean_t JClass::Visit ( JClassID id)

JClass * JClass::_build ( ClassMetadata * md) [static]

void JClass::_clinit_ ()

JArrayClass * JClass::_getArrayClass ( int dimsNum) [protected]

RTfieldID JClass::_getFieldID ( char * simpleName,
char * descriptor,
boolean_t isStatic) [protected]

void JClass::_getFields ( ubfArrayContext & this_context) [protected]

RTmethodID JClass::_getMethodID ( char * simpleName,
char * descriptor,
boolean_t isStatic) [protected]

JObject * JClass::_new ( char *& name) [static]

void JClass::acChunks ( ArrayClassChunk * c) [inline]

ArrayClassChunk * JClass::acChunks () [inline]

void JClass::addAdjacentInterfaces ( UBFSearch * ubf) [protected]

void JClass::adjacentAll ( UBFSearch * ubf) [protected]

void JClass::adjacentClasses ( UBFSearch * ubf) [protected]

void JClass::adjacentIntfs ( UBFSearch * ubf) [protected]

JClass * JClass::arrayType ( int & effectiveDims) [protected]

void JClass::atype ( atype_enum t) [inline]

atype_enum JClass::atype () [inline]

JObject * JClass::bcNew ()

JArray * JClass::buildArray ( int length)

JArrayClass * JClass::buildArrayClass ( int dimensions)

JArray * JClass::buildMultiArray ( int numDimensions,
int * dimensions)

JArray * JClass::buildPrimitiveArray ( atype_enum atype,
int length)

boolean_t JClass::canWidenRef ( JClass * T)

JClassID JClass::classID () [inline]

void JClass::copyVtbl ( ClassMetadata * md) [protected]

int JClass::countDeclaredCtors ()

int JClass::countDeclaredFields ()

int JClass::countDeclaredMethods ()

int JClass::countPublicCtors ()

int JClass::countPublicFields ()

int JClass::countPublicMethods ()

void * JClass::declaredFieldAddress ( char * simpleName)

int JClass::declaredFieldOffset ( char * simpleName)

void * JClass::declaredMethodAddr ( char * simpleName,
char * descriptor)

void JClass::dump ( int level,
boolean_t isShallow)

Reimplemented from JObject.

Reimplemented in JArrayClass, JInterfaceClass, and JObjectClass.

void JClass::dumpFlags ( int level) [protected]

JObject * JClass::elementTypeName ()

FieldMetadata * JClass::fieldMetadata ( int index)

JArrayClass * JClass::findArrayClass ( int dimension)

JClass * JClass::findClass ( aJChar * key,
int keyLength) [static]

JClass * JClass::findClassByChars ( char * chars) [static]

JClass * JClass::findClassByString ( JObject * String) [static]

short JClass::flags () [inline, protected]

void JClass::flags ( short c) [inline]

JArrayClass * JClass::getArrayClass ( int dimensionNum)

JClass * JClass::getClass ( aJChar * key,
int keyLength) [static]

JClass * JClass::getClassByChars ( char * chars) [static]

JClass * JClass::getClassByString ( JObject * String) [static]

JObject * JClass::getClassLoader () [inline]

JClass * JClass::getComponentType ()

JObject * JClass::getDeclaredCtor ( JArray * formals)

JArray * JClass::getDeclaredCtors ( JArray * a)

JObject * JClass::getDeclaredField ( JObject * strName)

JArray * JClass::getDeclaredFields ( JArray * array)

JObject * JClass::getDeclaredMethod ( JObject * strName,
JArray * formals)

JArray * JClass::getDeclaredMethods ( JArray * a)

RTfieldID JClass::getFieldID ( char * simpleName,
char * descriptor)

JArray * JClass::getInterfaces ()

Reimplemented in JInterfaceClass, and JObjectClass.

RTmethodID JClass::getMethodID ( char * simpleName,
char * descriptor)

JInt JClass::getModifiers () [inline]

JObject * JClass::getName ()

Reimplemented in JArrayClass.

JObject * JClass::getPublicCtor ( JArray * formals)

JArray * JClass::getPublicCtors ( JArray * a)

JObject * JClass::getPublicField ( JObject * strName)

JArray * JClass::getPublicFields ( JArray * array)

JObject * JClass::getPublicMethod ( JObject * strName,
JArray * formals)

JArray * JClass::getPublicMethods ( JArray * array)

RTfieldID JClass::getStaticFieldID ( char * simpleName,
char * descriptor)

RTmethodID JClass::getStaticMethodID ( char * simpleName,
char * descriptor)

void JClass::init1 () [static]

void JClass::init2 () [static]

Reimplemented in JArrayClass.

void JClass::initRelativeNumbering ()

boolean_t JClass::isAbstract ()

boolean_t JClass::isArrayRef () [inline]

JBoolean JClass::isAssignableFrom ( JClass * fromClass)

boolean_t JClass::isAssignableTo ( JClass * T,
short recursionLevel = 1)

boolean_t JClass::isAssignableToClass ( JClass * T)

boolean_t JClass::isAssignableToInterface ( JClass * T)

boolean_t JClass::isClassRef () [inline]

boolean_t JClass::isIdentityConvertible ( JClass * T)

Reimplemented in JArrayClass.

boolean_t JClass::isInterfaceRef () [inline]

boolean_t JClass::isPrimitive () [inline]

boolean_t JClass::isPrimitiveType () [inline]

boolean_t JClass::isReferenceType () [inline]

boolean_t JClass::isSameSignature ( MethodMetadata * md,
JArray * formals) [protected]

boolean_t JClass::isValidField ( int index)

boolean_t JClass::isValidID ( int id) [static]

boolean_t JClass::isValidMethod ( int index)

boolean_t JClass::isVoidType ()

void JClass::metadata ( ClassMetadata * m) [inline]

ClassMetadata * JClass::metadata () [inline]

MethodMetadata * JClass::methodMetadata ( int index)

int JClass::methodOffset ( char * simpleName,
char * descriptor)

void JClass::name ( char * n) [inline]

char * JClass::name () [inline]

JObject * JClass::newInstance ()

Reimplemented in JArrayClass, JInterfaceClass, and JObjectClass.

void JClass::printStats ( char *& title) [static]

JClass * JClass::superClass ( JClass * c) [static]

JClass * JClass::toClass ( JClassID id) [static]

void JClass::traverseAll ( UBFproc uproc,
void * context)

void JClass::traverseClasses ( UBFproc uproc,
void * context)

void JClass::traverseIntfs ( UBFproc uproc,
void * context)

void JClass::traverseSupers ( ADJACENTproc aproc,
UBFproc uproc,
void * context) [protected]

boolean_t JClass::ubfCountPublicFields ( void * v) [protected]

boolean_t JClass::ubfCountPublicMethods ( void * v) [protected]

boolean_t JClass::ubfFieldID ( void * v) [protected]

boolean_t JClass::ubfGetPublicFields ( void * v) [protected]

boolean_t JClass::ubfGetPublicMethods ( void * v) [protected]

boolean_t JClass::ubfInterfaceMethod ( void * v)

boolean_t JClass::ubfMethodID ( void * v) [protected]

boolean_t JClass::ubfSearch ( void * v)

boolean_t JClass::ubfSearchPubField ( void * v) [protected]

boolean_t JClass::ubfSearchPubMethod ( void * v) [protected]

void * JClass::vtbl ( int i)

Reimplemented from JObject.

void ** JClass::vtbl0 () [protected]

void JClass::walkFields ( UBFproc uproc,
void * context) [protected]


Member Data Documentation

UClassMetadataHashTable * JClass::hashTable [static]

JClass * JClass::primitives[primitivesLength] [static]

Reimplemented in JArrayClass.


The documentation for this struct was generated from the following files:
Generated at Mon Jul 31 13:43:35 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000