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

public Interface JShortField

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

A specialization of Field which represents a field containing a Java short value (in either a C/C++ data structure or a Java object) and which adds typechecked getValue() routines returning shorts.

Method Summary

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

The field must be nonstatic and the type of the field must be a Java short, or a WrongTypeException will be thrown.

public short
getValue()

The field must be static and the type of the field must be a Java short, or a WrongTypeException will be thrown.

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

Method Detail

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

The field must be nonstatic and the type of the field must be a Java short, or a WrongTypeException will be thrown.

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

The field must be static and the type of the field must be a Java short, or a WrongTypeException will be thrown.