public class BasicCompoundType extends BasicType implements CompoundType
CONST, VOLATILE
Constructor and Description |
---|
BasicCompoundType(java.lang.String name,
int size,
CompoundTypeKind kind) |
Modifier and Type | Method and Description |
---|---|
void |
addBaseClass(BaseClass b) |
void |
addField(Field f) |
CompoundType |
asCompound() |
protected Type |
createCVVariant(int cvAttributes) |
BaseClass |
getBaseClass(int i) |
Field |
getField(int i) |
int |
getNumBaseClasses() |
int |
getNumFields() |
boolean |
isClass()
Defined as a class in the debug information?
|
boolean |
isStruct()
Defined as a struct in the debug information?
|
boolean |
isUnion()
Defined as a union in the debug information?
|
void |
iterateObject(Address a,
ObjectVisitor v,
FieldIdentifier f)
Alternate visitor which allows end user to specify the
FieldIdentifier associated with this type (typically for
visiting locals in a frame)
|
void |
visit(TypeVisitor v) |
addCVVariant, asArray, asBit, asDouble, asEnum, asFloat, asFunction, asInt, asMemberFunction, asPointer, asRef, asVoid, findCVVariant, getCVVariant, getName, getSize, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isLazy, isMemberFunction, isPointer, isRef, isVoid, isVolatile, iterateObject, setName, toString
public BasicCompoundType(java.lang.String name, int size, CompoundTypeKind kind)
public CompoundType asCompound()
asCompound
in interface Type
asCompound
in class BasicType
public int getNumBaseClasses()
getNumBaseClasses
in interface CompoundType
public BaseClass getBaseClass(int i)
getBaseClass
in interface CompoundType
public void addBaseClass(BaseClass b)
public int getNumFields()
getNumFields
in interface CompoundType
public Field getField(int i)
getField
in interface CompoundType
public void addField(Field f)
public boolean isClass()
CompoundType
isClass
in interface CompoundType
public boolean isStruct()
CompoundType
isStruct
in interface CompoundType
public boolean isUnion()
CompoundType
isUnion
in interface CompoundType
public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f)
Type
iterateObject
in interface Type
iterateObject
in class BasicType
protected Type createCVVariant(int cvAttributes)
createCVVariant
in class BasicType
public void visit(TypeVisitor v)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.