|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.inspections.collectionextract.IMapExtractor.EntryObject
public static class IMapExtractor.EntryObject
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.model.IObject |
|---|
IObject.Type |
| Constructor Summary | |
|---|---|
IMapExtractor.EntryObject(IObject self,
IObject key,
IObject value)
|
|
| Method Summary | |
|---|---|
String |
getClassSpecificName()
Get class specific name of this object which depends on the availability of the appropriate name resolver, e.g. |
IClass |
getClazz()
Get class snapshot object this object is an instance of. |
String |
getDisplayName()
Get concatenation of IObject.getTechnicalName() and
IObject.getClassSpecificName(). |
GCRootInfo[] |
getGCRootInfo()
Get GCRootInfo if the object is a garbage collection root or null
otherwise. |
IObject |
getKey()
|
long |
getObjectAddress()
Get address for the snapshot object. |
int |
getObjectId()
Get id for the snapshot object. |
List<NamedReference> |
getOutboundReferences()
Get list of snapshot objects referenced from this snapshot object with the name of the field over which it was referenced. |
long |
getRetainedHeapSize()
Get retained heap size of this object. |
ISnapshot |
getSnapshot()
Returns the snapshot from which this object has been read. |
String |
getTechnicalName()
Get technical name of this object which is something like class@address. |
long |
getUsedHeapSize()
Get used heap size of just this object. |
IObject |
getValue()
|
Object |
resolveValue(String field)
Resolves and returns the value of a field specified by a dot notation. |
IObject |
setValue(IObject value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public IMapExtractor.EntryObject(IObject self,
IObject key,
IObject value)
| Method Detail |
|---|
public IObject getKey()
getKey in interface Map.Entry<IObject,IObject>public IObject getValue()
getValue in interface Map.Entry<IObject,IObject>public int getObjectId()
IObjectint (this helps
reducing the memory footprint of the snapshot considerably - addresses
are only used for visualization purposes).
getObjectId in interface IObjectpublic long getObjectAddress()
IObjectlong), have no consecutive order (with gaps), and are not
used for hashing.
getObjectAddress in interface IObjectpublic IClass getClazz()
IObject
getClazz in interface IObjectpublic long getUsedHeapSize()
IObject
getUsedHeapSize in interface IObjectpublic long getRetainedHeapSize()
IObject
getRetainedHeapSize in interface IObjectpublic String getTechnicalName()
IObject
getTechnicalName in interface IObjectpublic String getClassSpecificName()
IObject
getClassSpecificName in interface IObjectpublic String getDisplayName()
IObjectIObject.getTechnicalName() and
IObject.getClassSpecificName().
getDisplayName in interface IObjectIObject.getTechnicalName() and
IObject.getClassSpecificName()public List<NamedReference> getOutboundReferences()
IObject
getOutboundReferences in interface IObject
public Object resolveValue(String field)
throws SnapshotException
IObjectThe field can be specified using the dot notation, i.e. object references are followed and its fields are evaluated. If any of the object references is null, null is returned.
resolveValue in interface IObjectfield - the field name in dot notation
SnapshotException
public GCRootInfo[] getGCRootInfo()
throws SnapshotException
IObjectGCRootInfo if the object is a garbage collection root or null
otherwise. An object may or may not be a garbage collection root, it may
even be one for multiple reasons (described in the GCRootInfo
object).
getGCRootInfo in interface IObjectGCRootInfo if the object is a garbage collection root or
null otherwise
SnapshotExceptionpublic ISnapshot getSnapshot()
IObject
getSnapshot in interface IObjectpublic IObject setValue(IObject value)
setValue in interface Map.Entry<IObject,IObject>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||