| Modifier and Type | Method | Description |
|---|---|---|
int |
constantValue() |
Get the index into the constant pool of the field's constant value, if
any.
|
ClassInfo |
declaringClass() |
Get the class which declared the field.
|
int |
modifiers() |
Get the modifiers of the field.
|
int |
nameIndex() |
Get the index into the constant pool of the name of the field.
|
void |
setConstantValue(int index) |
Set the index into the constant pool of the field's constant value.
|
void |
setModifiers(int modifiers) |
Set the modifiers of the field.
|
void |
setNameIndex(int index) |
Set the index into the constant pool of the name of the field.
|
void |
setTypeIndex(int index) |
Set the index into the constant pool of the type of the field.
|
int |
typeIndex() |
Get the index into the constant pool of the type of the field.
|
ClassInfo declaringClass()
int nameIndex()
int typeIndex()
void setNameIndex(int index)
index - The index into the constant pool of the name of the field.void setTypeIndex(int index)
index - The index into the constant pool of the type of the field.void setModifiers(int modifiers)
modifiers - A bit vector of modifier flags for the field.Modifiersint modifiers()
Modifiersint constantValue()
ClassInfo.constants()void setConstantValue(int index)
ClassInfo.constants()