Top Fields Constructors Methods
sun.jvm.hotspot.debugger.cdbg.basic

public abstract Class BasicType

extends Object
implements Type, CVAttributes
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.CVAttributes, sun.jvm.hotspot.debugger.cdbg.Type
Known Direct Subclasses
sun.jvm.hotspot.debugger.cdbg.basic.BasicVoidType, sun.jvm.hotspot.debugger.cdbg.basic.LazyType, sun.jvm.hotspot.debugger.cdbg.basic.BasicArrayType, sun.jvm.hotspot.debugger.cdbg.basic.BasicCompoundType, sun.jvm.hotspot.debugger.cdbg.basic.BasicDoubleType, sun.jvm.hotspot.debugger.cdbg.basic.BasicFloatType, sun.jvm.hotspot.debugger.cdbg.basic.BasicFunctionType, sun.jvm.hotspot.debugger.cdbg.basic.BasicIntType, sun.jvm.hotspot.debugger.cdbg.basic.BasicPointerType, sun.jvm.hotspot.debugger.cdbg.basic.BasicRefType
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Field Summary

Modifier and TypeField and Description
private int
private List<Type>
private String
private int

Constructor Summary

AccessConstructor and Description
protected
BasicType(String name, int size)

protected
BasicType(String name, int size, int cvAttributes)

Method Summary

Modifier and TypeMethod and Description
protected void
public ArrayType
public BitType
public CompoundType
public DoubleType
public EnumType
public FloatType
public FunctionType
public IntType
public MemberFunctionType
public PointerType
public RefType
public VoidType
protected abstract Type
createCVVariant(int cvAttributes)

protected Type
findCVVariant(int cvAttributes)

private int
public Type
getCVVariant(int cvAttributes)

public String
public int
getSize()

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

Size of the type in bytes

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

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

Visit an object of this type at the given address with the specified visitor

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

Redeclares 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
protected void
setName(String name)

For use during resolution only

public String
toString()

Overrides java.lang.Object.toString.

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

Returns getName() unless a subclass can return something more appropriate

public abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

cvAttributesback to summary
private int cvAttributes
cvVariantsback to summary
private List<Type> cvVariants
nameback to summary
private String name
sizeback to summary
private int size

Constructor Detail

BasicTypeback to summary
protected BasicType(String name, int size)
BasicTypeback to summary
protected BasicType(String name, int size, int cvAttributes)

Method Detail

addCVVariantback to summary
protected void addCVVariant(Type t)
asArrayback to summary
public ArrayType asArray()

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

asBitback to summary
public BitType asBit()

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

asCompoundback to summary
public CompoundType asCompound()

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

asDoubleback to summary
public DoubleType asDouble()

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

asEnumback to summary
public EnumType asEnum()

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

asFloatback to summary
public FloatType asFloat()

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

asFunctionback to summary
public FunctionType asFunction()

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

asIntback to summary
public IntType asInt()

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

asMemberFunctionback to summary
public MemberFunctionType asMemberFunction()

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

asPointerback to summary
public PointerType asPointer()

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

asRefback to summary
public RefType asRef()

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

asVoidback to summary
public VoidType asVoid()

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

createCVVariantback to summary
protected abstract Type createCVVariant(int cvAttributes)
findCVVariantback to summary
protected Type findCVVariant(int cvAttributes)
getCVAttributesback to summary
private int getCVAttributes()
getCVVariantback to summary
public Type getCVVariant(int cvAttributes)
getNameback to summary
public String getName()

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

getSizeback to summary
public int getSize()

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

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

Size of the type in bytes

isArrayback to summary
public boolean isArray()

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

isBitback to summary
public boolean isBit()

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

isCompoundback to summary
public boolean isCompound()

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

isConstback to summary
public boolean isConst()

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

isDoubleback to summary
public boolean isDouble()

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

isEnumback to summary
public boolean isEnum()

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

isFloatback to summary
public boolean isFloat()

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

isFunctionback to summary
public boolean isFunction()

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

isIntback to summary
public boolean isInt()

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

isLazyback to summary
public boolean isLazy()
isMemberFunctionback to summary
public boolean isMemberFunction()

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

isPointerback to summary
public boolean isPointer()

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

isRefback to summary
public boolean isRef()

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

isVoidback to summary
public boolean isVoid()

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

isVolatileback to summary
public boolean isVolatile()

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

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

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

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

Visit an object of this type at the given address with the specified visitor

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

Redeclares 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)
setNameback to summary
protected void setName(String name)

For use during resolution only

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

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

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

Returns getName() unless a subclass can return something more appropriate

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

visitback to summary
public abstract void visit(TypeVisitor v)