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


7.2.6 ClassInvariant Attribute

This attribute describes the class invariants. It has the following structure:

     ClassInvariant_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 access_flags;
       formula_info invariant;
     }

The meaning of the fields is as follows: