APIdia Launch Partner
Top Description Methods
sun.jvm.hotspot.types

public Interface AddressField

extends Field
Known Direct Implementers
sun.jvm.hotspot.types.basic.BasicAddressFieldWrapper
Imports
sun.jvm.hotspot.debugger.*

A specialization of Field which adds Address-typed accessor methods. Since we currently do not understand pointer types (and since coercion from integer to pointer types and back is often done in C programs anyway) these accessors are not typechecked as, for example, the Java primitive type accessors are.

Method Summary

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

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

public Address
getValue()

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

Inherited from sun.jvm.hotspot.types.Field:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Method Detail

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

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

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

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