Next: , Previous: GhostField Attribute, Up: Class Attributes


7.2.4 ModelField Attribute

This attribute contains information about a class's model fields. The format of the attribute is as follows:

     ModelField_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 fields_count;
       {
         u2 access_flags;
         u4 BML_flags;
         u2 name_index;
         u2 descriptor_index;
       } fields[fields_count];
     }

The meaning of the fields:

Represents clauses for model fields are stored in RepresentsClause Attributes, see RepresentsClause Attribute.