Next: , Previous: The ModelField attribute, Up: Class attributes


7.2.5 ModelMethod Attribute

This attribute contains the information about model fields of the class. The format of the attribute is the following:

     ModelMethod_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 methods_count;
       method_info methods[methods_count];
     }

[alx: this seems not to have a corresponding desrciption in D3.1]

[jch: Model_Method (with underscore _ ) in Jack code]

[jch: don't we need some BML modifiers here?]

The meaning of the fields: