|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstNameAndType
This interface has to be implemented by those classes representing a
CONSTANT_NameAndType_info
structure. The CONSTANT_NameAndType_info structure is
used to represent a field or method, without indicating which class or interface type it belongs
to.
Concrete classes implementing this interface have to tag with the @RefersToCpInfo
annotation their private fields representing the following information:
1. name_index
2. descriptor_index
Method Summary | |
---|---|
int |
getDescriptorIndex()
The value of the descriptor_index item must be a valid index into the constant_pool table. |
int |
getNameIndex()
The value of the name_index item must be a valid index into the constant_pool table. |
void |
setDescriptorIndex(int index)
The value of the descriptor_index item must be a valid index into the constant_pool table. |
void |
setNameIndex(int index)
The value of the name_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 getNameIndex()
void setNameIndex(int index)
index
- The index of the CONSTANT_Utf8_info structureint getDescriptorIndex()
void setDescriptorIndex(int index)
index
- The index of the CONSTANT_Utf8_info structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |