|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IClass
Interface for a class instance in the heap dump.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.model.IObject |
|---|
IObject.Type |
| Field Summary | |
|---|---|
static String |
JAVA_LANG_CLASS
|
static String |
JAVA_LANG_CLASSLOADER
|
| Method Summary | |
|---|---|
boolean |
doesExtend(String className)
Does this class extend a class of the supplied name? With multiple class loaders the supplied name might not be the class you were intending to find. |
List<IClass> |
getAllSubclasses()
Returns all sub-classes including sub-classes of its sub-classes. |
long |
getClassLoaderAddress()
Returns the address of the class loader which loaded this class. |
int |
getClassLoaderId()
Returns the id of the class loader which loaded this class. |
List<FieldDescriptor> |
getFieldDescriptors()
Returns field descriptors for all member variables of instances of this class. |
long |
getHeapSizePerInstance()
Returns the heap size of one instance of this class. |
String |
getName()
Returns the fully qualified class name of this class. |
int |
getNumberOfObjects()
Returns the number of instances of this class present in the heap dump. |
int[] |
getObjectIds()
Ids of all instances of this class (an empty array if there are no instances of the class) |
long |
getRetainedHeapSizeOfObjects(boolean calculateIfNotAvailable,
boolean calculateMinRetainedSize,
IProgressListener listener)
Returns the retained size of all objects of this instance including the class instance. |
List<Field> |
getStaticFields()
Returns the static fields and it values. |
List<IClass> |
getSubclasses()
Returns the direct sub-classes. |
IClass |
getSuperClass()
Returns the super class. |
int |
getSuperClassId()
Returns the id of the super class. |
boolean |
hasSuperClass()
Returns true if the class has a super class. |
boolean |
isArrayType()
Returns true if the class is an array class. |
| Methods inherited from interface org.eclipse.mat.snapshot.model.IObject |
|---|
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getTechnicalName, getUsedHeapSize, resolveValue |
| Field Detail |
|---|
static final String JAVA_LANG_CLASS
static final String JAVA_LANG_CLASSLOADER
| Method Detail |
|---|
String getName()
int getNumberOfObjects()
int[] getObjectIds()
throws SnapshotException
SnapshotExceptionint getClassLoaderId()
long getClassLoaderAddress()
List<FieldDescriptor> getFieldDescriptors()
List<Field> getStaticFields()
long getHeapSizePerInstance()
long getRetainedHeapSizeOfObjects(boolean calculateIfNotAvailable,
boolean calculateMinRetainedSize,
IProgressListener listener)
throws SnapshotException
SnapshotExceptionint getSuperClassId()
IClass getSuperClass()
boolean hasSuperClass()
List<IClass> getSubclasses()
List<IClass> getAllSubclasses()
boolean doesExtend(String className)
throws SnapshotException
className -
SnapshotExceptionboolean isArrayType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||