public class NamedReference extends ObjectReference
Constructor and Description |
---|
NamedReference(ISnapshot snapshot,
long address,
String name)
Constructs a reference to a Java object with a description of why the reference occurred.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the description of the reference.
|
getObject, getObjectAddress, getObjectId, toString
public NamedReference(ISnapshot snapshot, long address, String name)
snapshot
- the whole dumpaddress
- the address of the target objectname
- the description of the reference, for example the field name, an array indexpublic String getName()