public interface IInstance extends IObject
IObject.Type
Modifier and Type | Method and Description |
---|---|
Field |
getField(String name)
Returns the field identified by the name.
|
List<Field> |
getFields()
Returns all fields of the object.
|
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getTechnicalName, getUsedHeapSize, resolveValue
List<Field> getFields()
Fields are ordered in such a way, that first fields defined in the current class and then fields of the super class and its super classes are returned. This order is important to know, if a class declares a field by the same name as the class it inherits from.