public final class NdConstantEnum extends NdConstant
| Modifier and Type | Field and Description |
|---|---|
static FieldManyToOne<NdTypeSignature> |
ENUM_TYPE |
static FieldString |
ENUM_VALUE |
static StructDef<NdConstantEnum> |
type |
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE| Modifier | Constructor and Description |
|---|---|
protected |
NdConstantEnum(Nd nd) |
|
NdConstantEnum(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstantEnum |
create(NdTypeSignature enumType,
java.lang.String enumValue) |
Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
NdTypeSignature |
getType() |
char[] |
getValue() |
void |
setEnumType(NdTypeSignature enumType) |
void |
setEnumValue(java.lang.String enumType) |
create, setParent, toStringpublic static final FieldManyToOne<NdTypeSignature> ENUM_TYPE
public static final FieldString ENUM_VALUE
public static StructDef<NdConstantEnum> type
public NdConstantEnum(Nd nd, long address)
protected NdConstantEnum(Nd nd)
public static NdConstantEnum create(NdTypeSignature enumType, java.lang.String enumValue)
public void setEnumType(NdTypeSignature enumType)
public void setEnumValue(java.lang.String enumType)
public NdTypeSignature getType()
public char[] getValue()
public Constant getConstant()
NdConstantConstant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant.getConstant in class NdConstant