Next: , Previous: The LocalGhostVariables attribute, Up: Code attributes


7.5.3 Assert Attribute

The Assert method attribute represents the table of assertions in the code of the method. The structure of the attribute is the following:

     Assert_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 asserts_count;
       {
         u2 point_pc;
         u2 index;
         formula_info assertion;
       } asserts[asserts_count];
     }

[alx: this corresponds to Assert_attribute in D3.1, some names are changed]