| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Type |
| Access | Constructor and Description |
|---|---|
| public | BasicEnumType(String name, Type underlyingType)
Underlying type of enum must be an integer type (or as yet unresolved) |
| private |
| enums | back to summary |
|---|---|
| private List<BasicEnumType. | |
| underlyingType | back to summary |
|---|---|
| private Type underlyingType | |
| BasicEnumType | back to summary |
|---|---|
| public BasicEnumType(String name, Type underlyingType) Underlying type of enum must be an integer type (or as yet unresolved) | |
| BasicEnumType | back to summary |
|---|---|
| private BasicEnumType(String name, Type underlyingType, int cvAttributes) | |
| addEnum | back to summary |
|---|---|
| public void addEnum(String name, long val) | |
| asEnum | back to summary |
|---|---|
| public EnumType asEnum() Overrides sun. Implements sun. | |
| createCVVariant | back to summary |
|---|---|
| protected Type createCVVariant(int cvAttributes) Overrides sun. | |
| enumNameForValue | back to summary |
|---|---|
| public String enumNameForValue(long val) Implements sun. Doc from sun. Return name for given enum value, or null if not found | |
| getEnumName | back to summary |
|---|---|
| public String getEnumName(int i) Implements sun. Doc from sun. Fetch ith (0..getNumEnumerants() - 1) name | |
| getEnumValue | back to summary |
|---|---|
| public long getEnumValue(int i) Implements sun. Doc from sun. Fetch ith (0..getNumEnumerants() - 1) value | |
| getNumEnumerates | back to summary |
|---|---|
| public int getNumEnumerates() Implements sun. Doc from sun. Number of enumerates defined in this enum | |
| getSize | back to summary |
|---|---|
| public int getSize() Overrides sun. Implements sun. Doc from sun. Size of the type in bytes | |
| isUnsigned | back to summary |
|---|---|
| public boolean isUnsigned() Overrides sun. Implements sun. Doc from sun. Indicates whether this type is unsigned | |
| iterateObject | back to summary |
|---|---|
| public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f) Overrides sun. Implements sun. Doc from sun. Alternate visitor which allows end user to specify the FieldIdentifier associated with this type (typically for visiting locals in a frame) | |
| resolveTypes | back to summary |
|---|---|
| pack-priv Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener) Overrides sun. | |
| visit | back to summary |
|---|---|
| public void visit(TypeVisitor v) Overrides sun. | |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| pack-priv long |
| Enum | back to summary |
|---|---|
| pack-priv Enum(String name, long value) | |
| getName | back to summary |
|---|---|
| pack-priv String getName() | |
| getValue | back to summary |
|---|---|
| pack-priv long getValue() | |