APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.types.basic

public Class BasicAddressFieldWrapper

extends BasicFieldWrapper
implements AddressField
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.types.AddressField, sun.jvm.hotspot.types.Field
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.types.*

A wrapper for a Field which adds getValue() methods returning Addresses. Must be a wrapper since the concrete type of the Field implementation will not be, for example, a BasicAddressField because, for simplicity, we don't currently understand pointer types in the Type system.

Field Summary

Inherited from sun.jvm.hotspot.types.basic.BasicFieldWrapper:
field

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
getValue(Address addr)

Implements sun.jvm.hotspot.types.AddressField.getValue.

This accessor requires that the field be nonstatic, or a WrongTypeException will be thrown.

public Address
getValue()

Implements sun.jvm.hotspot.types.AddressField.getValue.

This accessor requires that the field be static, or a WrongTypeException will be thrown.

Inherited from sun.jvm.hotspot.types.basic.BasicFieldWrapper:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Constructor Detail

BasicAddressFieldWrapperback to summary
public BasicAddressFieldWrapper(Field field)

Method Detail

getValueback to summary
public Address getValue(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException

Implements sun.jvm.hotspot.types.AddressField.getValue.

Doc from sun.jvm.hotspot.types.AddressField.getValue.

This accessor requires that the field be nonstatic, or a WrongTypeException will be thrown.

getValueback to summary
public Address getValue() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException

Implements sun.jvm.hotspot.types.AddressField.getValue.

Doc from sun.jvm.hotspot.types.AddressField.getValue.

This accessor requires that the field be static, or a WrongTypeException will be thrown.