|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaClass
Represents a Java class.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
JavaClassLoader |
getClassLoader()
Fetch the class loader associated with this class. |
JavaClass |
getComponentType()
For array classes, returns a JavaClass representing the component type of this array class. |
java.util.Iterator |
getConstantPoolReferences()
|
java.util.Iterator |
getDeclaredFields()
|
java.util.Iterator |
getDeclaredMethods()
|
ImagePointer |
getID()
The ID of a class is a pointer to a section of memory which identifies the class. |
java.util.Iterator |
getInterfaces()
|
int |
getModifiers()
Return the Java language modifiers for this class. |
java.lang.String |
getName()
|
JavaObject |
getObject()
|
JavaClass |
getSuperclass()
|
int |
hashCode()
|
boolean |
isArray()
|
Method Detail |
---|
JavaObject getObject() throws CorruptDataException
CorruptDataException
JavaClassLoader getClassLoader() throws CorruptDataException
CorruptDataException
- if the class loader for this class cannot
be found (a class cannot exist without a loader so this implies corruption)java.lang.String getName() throws CorruptDataException
CorruptDataException
JavaClass getSuperclass() throws CorruptDataException
CorruptDataException
java.util.Iterator getInterfaces()
String
,
JavaClassLoader.findClass(String)
,
CorruptData
int getModifiers() throws CorruptDataException
CorruptDataException
boolean isArray() throws CorruptDataException
CorruptDataException
JavaClass getComponentType() throws CorruptDataException
java.lang.IllegalArgumentException
- if this JavaClass does not represent an array class
CorruptDataException
java.util.Iterator getDeclaredFields()
JavaField
,
CorruptData
java.util.Iterator getDeclaredMethods()
JavaMethod
,
CorruptData
java.util.Iterator getConstantPoolReferences()
JavaObject
,
CorruptData
ImagePointer getID()
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |