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

public Interface JCharField

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

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

Method Summary

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

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

public char
getValue()

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

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

Method Detail

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

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

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

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