Struct jbcrs_basic::Annotation
[−]
[src]
pub struct Annotation { pub type_index: u16, pub element_value_pairs: Vec<(u16, ElementValue)>, }
Fields
type_index: u16
Must be an index to the constant pool with an Item::UTF8(_)
representing a field descriptor
element_value_pairs: Vec<(u16, ElementValue)>
The value every single pair holds.
The first part is an index to the constant pool,
which must be an Item::UTF8(_)
.
The second one is the value itself.