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