public class NdTypeAnnotation extends NdAnnotation
| Modifier and Type | Field and Description |
|---|---|
static FieldPointer |
PATH |
static FieldByte |
PATH_LENGTH |
static FieldByte |
TARGET_ARG0 |
static FieldByte |
TARGET_ARG1 |
static FieldByte |
TARGET_TYPE |
static StructDef<NdTypeAnnotation> |
type |
ANNOTATION_TYPE, ELEMENT_VALUE_PAIRS| Constructor and Description |
|---|
NdTypeAnnotation(Nd nd) |
NdTypeAnnotation(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destruct()
Dispose this
NdNode. |
int |
getTarget() |
byte |
getTargetInfoArg0() |
byte |
getTargetInfoArg1() |
int |
getTargetType() |
byte[] |
getTypePath() |
void |
setPath(byte[] path) |
void |
setTargetInfo(byte arg0,
byte arg1) |
void |
setTargetInfo(int arg) |
void |
setTargetType(int targetType) |
getElementValuePairs, getType, setTypepublic static final FieldByte TARGET_TYPE
public static final FieldByte TARGET_ARG0
public static final FieldByte TARGET_ARG1
public static final FieldByte PATH_LENGTH
public static final FieldPointer PATH
public static final StructDef<NdTypeAnnotation> type
public NdTypeAnnotation(Nd nd, long address)
public NdTypeAnnotation(Nd nd)
public void setPath(byte[] path)
public void setTargetInfo(int arg)
public byte getTargetInfoArg0()
public byte getTargetInfoArg1()
public int getTarget()
public void setTargetInfo(byte arg0,
byte arg1)
public void setTargetType(int targetType)
targetType - one of the constants from AnnotationTargetTypeConstantspublic int getTargetType()
AnnotationTargetTypeConstantspublic byte[] getTypePath()
public void destruct()
NdNodeNdNode. Subclasses should extend this method to perform any high-level node-specific cleanup.
This will be invoked prior to disposing the fields. Implementations must invoke their parent's destruct method
and should not destruct the fields.
If an external object wants to destroy a node, they should invoke NdNode.delete() rather than this
method.
destruct in interface IDestructabledestruct in class NdNode