public final class NdConstantString extends NdConstant
| Modifier and Type | Field and Description |
|---|---|
static StructDef<NdConstantString> |
type |
static FieldString |
VALUE |
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE| Modifier | Constructor and Description |
|---|---|
protected |
NdConstantString(Nd nd) |
|
NdConstantString(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstantString |
create(Nd nd,
java.lang.String value) |
Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
IString |
getValue() |
void |
setValue(java.lang.String value) |
create, setParent, toStringpublic static final FieldString VALUE
public static StructDef<NdConstantString> type
public NdConstantString(Nd nd, long address)
protected NdConstantString(Nd nd)
public static NdConstantString create(Nd nd, java.lang.String value)
public void setValue(java.lang.String value)
public IString 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