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

public Class BasicJShortField

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

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.

Field Summary

Inherited from sun.jvm.hotspot.types.basic.BasicField:
dbtype

Constructor Summary

AccessConstructor and Description
public
BasicJShortField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)

Method Summary

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

Implements sun.jvm.hotspot.types.JShortField.getValue.

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()

Implements sun.jvm.hotspot.types.JShortField.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.basic.BasicField:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Constructor Detail

BasicJShortFieldback to summary
public BasicJShortField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)

Method Detail

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

Implements sun.jvm.hotspot.types.JShortField.getValue.

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

Implements sun.jvm.hotspot.types.JShortField.getValue.

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