|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.snapshot.model.ObjectReference
public class ObjectReference
The value of a field if it is an object reference.
Constructor Summary | |
---|---|
ObjectReference(ISnapshot snapshot,
long address)
Create a reference to an object based on its address but in a form where the object id can be found. |
Method Summary | |
---|---|
IObject |
getObject()
Get a detailed view of the object |
long |
getObjectAddress()
The actual address of the object |
int |
getObjectId()
The id of the object |
java.lang.String |
toString()
A simple view of the object as an address |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectReference(ISnapshot snapshot, long address)
snapshot
- address
- Method Detail |
---|
public long getObjectAddress()
public int getObjectId() throws SnapshotException
SnapshotException
public IObject getObject() throws SnapshotException
SnapshotException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |