|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public JavaObject getObject() throws CorruptDataException
CorruptDataException
public 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)public java.lang.String getName() throws CorruptDataException
CorruptDataException
public JavaClass getSuperclass() throws CorruptDataException
CorruptDataException
public java.util.Iterator getInterfaces()
String
,
JavaClassLoader.findClass(String)
,
CorruptData
public int getModifiers() throws CorruptDataException
CorruptDataException
public boolean isArray() throws CorruptDataException
CorruptDataException
public JavaClass getComponentType() throws CorruptDataException
java.lang.IllegalArgumentException
- if this JavaClass does not represent an array class
CorruptDataException
public java.util.Iterator getDeclaredFields()
JavaField
,
CorruptData
public java.util.Iterator getDeclaredMethods()
JavaMethod
,
CorruptData
public java.util.Iterator getConstantPoolReferences()
JavaObject
,
CorruptData
public ImagePointer getID()
public boolean equals(java.lang.Object obj)
obj
-
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |