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

public Class BasicCompoundType

extends BasicType
implements CompoundType
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.CompoundType
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*, sun.jvm.hotspot.utilities.Assert

Field Summary

Modifier and TypeField and Description
private List<BaseClass>
private List<Field>
private CompoundTypeKind

Constructor Summary

AccessConstructor and Description
public
private
BasicCompoundType(String name, int size, CompoundTypeKind kind, int cvAttributes)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public CompoundType
protected Type
public BaseClass
public Field
public int
public int
public boolean
isClass()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isClass.

Defined as a class in the debug information?

public boolean
isStruct()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isStruct.

Defined as a struct in the debug information?

public boolean
isUnion()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isUnion.

Defined as a union in the debug information?

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

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicType.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)

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

Field Detail

baseClassesback to summary
private List<BaseClass> baseClasses
fieldsback to summary
private List<Field> fields
kindback to summary
private CompoundTypeKind kind

Constructor Detail

BasicCompoundTypeback to summary
public BasicCompoundType(String name, int size, CompoundTypeKind kind)
BasicCompoundTypeback to summary
private BasicCompoundType(String name, int size, CompoundTypeKind kind, int cvAttributes)

Method Detail

addBaseClassback to summary
public void addBaseClass(BaseClass b)
addFieldback to summary
public void addField(Field f)
asCompoundback to summary
public CompoundType asCompound()

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

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

createCVVariantback to summary
protected Type createCVVariant(int cvAttributes)

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicType.createCVVariant.

getBaseClassback to summary
public BaseClass getBaseClass(int i)

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.getBaseClass.

getFieldback to summary
public Field getField(int i)

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.getField.

getNumBaseClassesback to summary
public int getNumBaseClasses()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.getNumBaseClasses.

getNumFieldsback to summary
public int getNumFields()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.getNumFields.

isClassback to summary
public boolean isClass()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isClass.

Doc from sun.jvm.hotspot.debugger.cdbg.CompoundType.isClass.

Defined as a class in the debug information?

isStructback to summary
public boolean isStruct()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isStruct.

Doc from sun.jvm.hotspot.debugger.cdbg.CompoundType.isStruct.

Defined as a struct in the debug information?

isUnionback to summary
public boolean isUnion()

Implements sun.jvm.hotspot.debugger.cdbg.CompoundType.isUnion.

Doc from sun.jvm.hotspot.debugger.cdbg.CompoundType.isUnion.

Defined as a union in the debug information?

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

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicType.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)

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)

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicType.visit.