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

public Class BasicCIntegerField

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

A specialization of BasicField adding typechecked getValue() routines returning ints.

Field Summary

Modifier and TypeField and Description
private CIntegerType
Inherited from sun.jvm.hotspot.types.basic.BasicField:
dbtype

Constructor Summary

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

Method Summary

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

Implements sun.jvm.hotspot.types.CIntegerField.getValue.

The field must be nonstatic and of integer type, or a WrongTypeException will be thrown.

public long
getValue()

Implements sun.jvm.hotspot.types.CIntegerField.getValue.

The field must be static and of integer type, or a WrongTypeException will be thrown.

public boolean
Inherited from sun.jvm.hotspot.types.basic.BasicField:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Field Detail

intTypeback to summary
private CIntegerType intType

Constructor Detail

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

Method Detail

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

Implements sun.jvm.hotspot.types.CIntegerField.getValue.

The field must be nonstatic and of integer type, or a WrongTypeException will be thrown.

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

Implements sun.jvm.hotspot.types.CIntegerField.getValue.

The field must be static and of integer type, or a WrongTypeException will be thrown.

isUnsignedback to summary
public boolean isUnsigned()

Implements sun.jvm.hotspot.types.CIntegerField.isUnsigned.