public abstract class NdConstant extends NdNode
| Modifier and Type | Field and Description |
|---|---|
static FieldOneToOne<NdAnnotationValuePair> |
PARENT_ANNOTATION_VALUE |
static FieldManyToOne<NdConstantArray> |
PARENT_ARRAY |
static FieldOneToOne<NdMethod> |
PARENT_METHOD |
static FieldOneToOne<NdVariable> |
PARENT_VARIABLE |
static StructDef<NdConstant> |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
NdConstant(Nd nd) |
|
NdConstant(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstant |
create(Nd nd,
Constant constant) |
abstract Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
void |
setParent(NdConstantArray result) |
java.lang.String |
toString() |
delete, destruct, equals, getAddress, getBindingID, getBit, getByte, getNodeId, getNodeType, hashCode, load, loadpublic static final FieldManyToOne<NdConstantArray> PARENT_ARRAY
public static final FieldOneToOne<NdAnnotationValuePair> PARENT_ANNOTATION_VALUE
public static final FieldOneToOne<NdVariable> PARENT_VARIABLE
public static final FieldOneToOne<NdMethod> PARENT_METHOD
public static StructDef<NdConstant> type
public NdConstant(Nd nd, long address)
protected NdConstant(Nd nd)
public static NdConstant create(Nd nd, Constant constant)
public void setParent(NdConstantArray result)
public abstract Constant getConstant()
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant.public java.lang.String toString()
toString in class java.lang.Object