APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.debugger.cdbg.basic

public Class BasicBitType

extends BasicIntType
implements BitType
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.BitType, sun.jvm.hotspot.debugger.cdbg.IntType, sun.jvm.hotspot.debugger.cdbg.Type
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*, sun.jvm.hotspot.utilities.Assert

Field Summary

Modifier and TypeField and Description
private int
private int
private Type

Constructor Summary

AccessConstructor and Description
public
BasicBitType(Type underlyingType, int sizeInBits, int lsbOffset)

Underlying type of enum must be an integer type (or as yet unresolved)

private
BasicBitType(Type underlyingType, int sizeInBits, int lsbOffset, int cvAttributes)

Method Summary

Modifier and TypeMethod and Description
public BitType
protected Type
public int
getOffset()

Implements sun.jvm.hotspot.debugger.cdbg.BitType.getOffset.

Offset from the least-significant bit (LSB) of the LSB of this type

public int
public int
private static long
highBit(int sizeInBits)

public boolean
public void
iterateObject(Address a, ObjectVisitor v, FieldIdentifier f)

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType.iterateObject.

Implements sun.jvm.hotspot.debugger.cdbg.Type.iterateObject.

Alternate visitor which allows end user to specify the FieldIdentifier associated with this type (typically for visiting locals in a frame)

private static long
maskFor(int sizeInBits)

pack-priv Type
public void
Inherited from sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType:
asIntgetIntSize

Field Detail

offsetback to summary
private int offset
sizeInBitsback to summary
private int sizeInBits
underlyingTypeback to summary
private Type underlyingType

Constructor Detail

BasicBitTypeback to summary
public BasicBitType(Type underlyingType, int sizeInBits, int lsbOffset)

Underlying type of enum must be an integer type (or as yet unresolved)

BasicBitTypeback to summary
private BasicBitType(Type underlyingType, int sizeInBits, int lsbOffset, int cvAttributes)

Method Detail

asBitback to summary
public BitType asBit()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicType.asBit.

Implements sun.jvm.hotspot.debugger.cdbg.Type.asBit.

createCVVariantback to summary
protected Type createCVVariant(int cvAttributes)

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType.createCVVariant.

getOffsetback to summary
public int getOffset()

Implements sun.jvm.hotspot.debugger.cdbg.BitType.getOffset.

Doc from sun.jvm.hotspot.debugger.cdbg.BitType.getOffset.

Offset from the least-significant bit (LSB) of the LSB of this type

getSizeback to summary
public int getSize()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicType.getSize.

Implements sun.jvm.hotspot.debugger.cdbg.Type.getSize.

Doc from sun.jvm.hotspot.debugger.cdbg.Type.getSize.

Size of the type in bytes

getSizeInBitsback to summary
public int getSizeInBits()

Implements sun.jvm.hotspot.debugger.cdbg.BitType.getSizeInBits.

Doc from sun.jvm.hotspot.debugger.cdbg.BitType.getSizeInBits.

Size in bits of this type

highBitback to summary
private static long highBit(int sizeInBits)
isUnsignedback to summary
public boolean isUnsigned()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType.isUnsigned.

Implements sun.jvm.hotspot.debugger.cdbg.IntType.isUnsigned.

Doc from sun.jvm.hotspot.debugger.cdbg.IntType.isUnsigned.

Indicates whether this type is unsigned

iterateObjectback to summary
public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f)

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType.iterateObject.

Implements sun.jvm.hotspot.debugger.cdbg.Type.iterateObject.

Doc from sun.jvm.hotspot.debugger.cdbg.Type.iterateObject.

Alternate visitor which allows end user to specify the FieldIdentifier associated with this type (typically for visiting locals in a frame)

maskForback to summary
private static long maskFor(int sizeInBits)
resolveTypesback to summary
pack-priv Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener)

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicType.resolveTypes.

visitback to summary
public void visit(TypeVisitor v)

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType.visit.