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


7.5.5 LoopSpecification Attribute

The LoopSpecification attribute represents the table of loop specifications. Its structure is the following:

     LoopSpecification_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 loops_count;
       {
         u2 point_pc;
         u2 order;
         assignable_info assignable;
         formula_info invariant;
         formula_info variant;
       } loops[loops_count];
     }

[alx: This corresponds to JMLLoop_specification_attribute from D3.1, some fields are different.]

[jch: Don't we need the start_pc/end_pc here?]

The meaning of particular fields is the following: