Next: , Previous: Class Attributes, Up: Encoding of BML in Class File Format


7.5 Field Attributes

BML-related field attributes are added as additional attributes to regular fields in the fields table (see Fields Data Structure). They describe properties of the particular field they are attached to. The attributes are as follows:

7.5.1 FieldModifiers Attribute

The FieldModifiers attribute contains the BML related modifiers of the field. It has the following structure:

     FieldModifiers_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u4 BML_flags;
     }

The meaning of the fields is as follows:

There should be no more than one FieldModifiers attribute per field. In case there are more than one the tools should use the first one in the binary representation.