| java.lang.Object org.netbeans.insane.live.Path
Path | final public class Path (Code) | | The representation of the path from GC root to given object.
Forms a linked list, where each node represents one Object, next Path node
in the reference chain and the outgoing reference from the node to the next.
Root node might have no associated object, while the last node has neither
outgoing reference nor next node.
author: nenik |
Method Summary | |
public static String | describeObject(Object obj) Provides an object description in the form of "ClassName@systemHash".
e.g. | public String | describeReference() Get the textual representation of the reference between this node
and the next one. | public boolean | equals(Object o) | public Object | getObject() Get the Object instance this Path node represents. | public int | hashCode() | public Path | nextNode() Get the next node in the Path chain. | public String | toString() Provides a formatted textual representation of the whole reference chain
up to the last referenced object, including newlines between path nodes. |
describeObject | public static String describeObject(Object obj)(Code) | | Provides an object description in the form of "ClassName@systemHash".
e.g. "java.lang.String@82acb368" |
describeReference | public String describeReference()(Code) | | Get the textual representation of the reference between this node
and the next one.
Name of the field, array index or root description. |
getObject | public Object getObject()(Code) | | Get the Object instance this Path node represents.
Object for this path node or null in case of root node. |
hashCode | public int hashCode()(Code) | | |
nextNode | public Path nextNode()(Code) | | Get the next node in the Path chain.
Next Path node or null in case of the last node. |
toString | public String toString()(Code) | | Provides a formatted textual representation of the whole reference chain
up to the last referenced object, including newlines between path nodes.
|
|
|