|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConstField
This interface has to be implemented by those classes representing a
CONSTANT_Field_info structure. The CONSTANT_Field_info structure is
used to represent fields.
Concrete classes implementing this interface have to tag with the @RefersToCpInfo annotation their private fields representing the following information:
1. class_index 2. name_and_type_index
| Method Summary | |
|---|---|
int |
getClassIndex()
The value of the class_index item must be a valid index into the constant_pool table. |
int |
getNameAndTypeIndex()
The value of the name_and_type_index item must be a valid index into the constant_pool table. |
void |
setClassIndex(int index)
The value of the class_index item must be a valid index into the constant_pool table. |
void |
setNameAndTypeIndex(int index)
The value of the name_and_type_index item must be a valid index into the constant_pool table. |
| Methods inherited from interface jef.dna.constantInfo.ConstantInfo |
|---|
clone, fromStream, getCpt, getTag, getType, setCpt, setTag, toStream, updateRefs, validate |
| Method Detail |
|---|
int getClassIndex()
void setClassIndex(int index)
index - The CONSTANT_Class_info index into the constant pool tableint getNameAndTypeIndex()
void setNameAndTypeIndex(int index)
index - The CONSTANT_NameAndType_info index into the constant pool table
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||