APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.ui.tree

public Class BadAddressTreeNodeAdapter

extends FieldTreeNodeAdapter
Class Inheritance
Imports
java.io.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.oops.*, sun.jvm.hotspot.runtime.VM

Simple wrapper for displaying bad addresses in the Inspector

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public
BadAddressTreeNodeAdapter(Address addr, MetadataField field, boolean treeTableMode)

public
BadAddressTreeNodeAdapter(Address addr, OopField field, boolean treeTableMode)

public
BadAddressTreeNodeAdapter(OopHandle addr, FieldIdentifier id, boolean treeTableMode)

public
BadAddressTreeNodeAdapter(long addr, FieldIdentifier id, boolean treeTableMode)

The address may be null (for address fields of structures which are null); the FieldIdentifier may also be null (for the root node).

Method Summary

Modifier and TypeMethod and Description
private static String
generateMessage(long addr, String kind)

public SimpleTreeNode
public int
public int
public String
getValue()

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.getValue.

TreeTable support: get value of the node

public boolean
Inherited from sun.jvm.hotspot.ui.tree.FieldTreeNodeAdapter:
getIDgetNamegetTreeTableModetoString

Field Detail

messageback to summary
private String message

Constructor Detail

BadAddressTreeNodeAdapterback to summary
public BadAddressTreeNodeAdapter(Address addr, MetadataField field, boolean treeTableMode)
BadAddressTreeNodeAdapterback to summary
public BadAddressTreeNodeAdapter(Address addr, OopField field, boolean treeTableMode)
BadAddressTreeNodeAdapterback to summary
public BadAddressTreeNodeAdapter(OopHandle addr, FieldIdentifier id, boolean treeTableMode)
BadAddressTreeNodeAdapterback to summary
public BadAddressTreeNodeAdapter(long addr, FieldIdentifier id, boolean treeTableMode)

The address may be null (for address fields of structures which are null); the FieldIdentifier may also be null (for the root node).

Method Detail

generateMessageback to summary
private static String generateMessage(long addr, String kind)
getChildback to summary
public SimpleTreeNode getChild(int index)

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.getChild.

getChildCountback to summary
public int getChildCount()

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.getChildCount.

getIndexOfChildback to summary
public int getIndexOfChild(SimpleTreeNode child)

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.getIndexOfChild.

getValueback to summary
public String getValue()

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.getValue.

Doc from sun.jvm.hotspot.ui.tree.SimpleTreeNode.getValue.

TreeTable support: get value of the node

isLeafback to summary
public boolean isLeaf()

Implements sun.jvm.hotspot.ui.tree.SimpleTreeNode.isLeaf.