public class NdVariable extends NdBinding
| Modifier and Type | Field and Description |
|---|---|
static FieldList<NdAnnotation> |
ANNOTATIONS |
static FieldOneToOne<NdConstant> |
CONSTANT |
static FieldManyToOne<NdMethod> |
DECLARING_METHOD |
static byte |
FLG_GENERIC_SIGNATURE_PRESENT |
static FieldString |
NAME |
static FieldLong |
TAG_BITS |
static StructDef<NdVariable> |
type |
static FieldManyToOne<NdTypeSignature> |
TYPE |
static FieldList<NdTypeAnnotation> |
TYPE_ANNOTATIONS |
static FieldByte |
VARIABLE_FLAGS |
static FieldInt |
VARIABLE_ID |
MODIFIERS, TYPE_PARAMETERS| Constructor and Description |
|---|
NdVariable(Nd nd,
long bindingRecord) |
| Modifier and Type | Method and Description |
|---|---|
void |
allocateAnnotations(int length) |
void |
allocateTypeAnnotations(int length) |
NdAnnotation |
createAnnotation() |
NdTypeAnnotation |
createTypeAnnotation() |
java.util.List<NdAnnotation> |
getAnnotations() |
NdConstant |
getConstant() |
IString |
getName() |
long |
getTagBits() |
NdTypeSignature |
getType() |
java.util.List<NdTypeAnnotation> |
getTypeAnnotations() |
boolean |
hasVariableFlag(int toTest) |
void |
setConstant(NdConstant constant) |
void |
setName(char[] name) |
void |
setTagBits(long tagBits) |
void |
setType(NdTypeSignature typeId) |
void |
setVariableFlag(byte toSet) |
java.lang.String |
toString() |
allocateTypeParameters, createTypeParameter, getAdapter, getBindingConstant, getModifiers, getTypeParameters, getTypeParameterSignatures, hasModifier, setModifiersdelete, destruct, equals, getAddress, getBindingID, getBit, getByte, getNodeId, getNodeType, hashCode, load, loadpublic static final FieldManyToOne<NdTypeSignature> TYPE
public static final FieldInt VARIABLE_ID
public static final FieldManyToOne<NdMethod> DECLARING_METHOD
public static final FieldString NAME
public static final FieldOneToOne<NdConstant> CONSTANT
public static final FieldLong TAG_BITS
public static final FieldByte VARIABLE_FLAGS
public static final FieldList<NdAnnotation> ANNOTATIONS
public static final FieldList<NdTypeAnnotation> TYPE_ANNOTATIONS
public static StructDef<NdVariable> type
public static final byte FLG_GENERIC_SIGNATURE_PRESENT
public NdVariable(Nd nd, long bindingRecord)
public boolean hasVariableFlag(int toTest)
public void setVariableFlag(byte toSet)
public void setName(char[] name)
public IString getName()
public void setType(NdTypeSignature typeId)
public void setConstant(NdConstant constant)
public NdConstant getConstant()
public NdTypeSignature getType()
public long getTagBits()
public void setTagBits(long tagBits)
public java.util.List<NdTypeAnnotation> getTypeAnnotations()
public java.util.List<NdAnnotation> getAnnotations()
public NdAnnotation createAnnotation()
public void allocateAnnotations(int length)
public java.lang.String toString()
toString in class java.lang.Objectpublic NdTypeAnnotation createTypeAnnotation()
public void allocateTypeAnnotations(int length)