Next: InitiallyClause Attribute, Previous: ClassInvariant Attribute, Up: Class Attributes
This attribute describes the history constraints of the class. It has the following structure:
Constraint_attribute { u2 attribute_name_index; u4 attribute_length; u2 access_flags; formula_info constraint; }
The meaning of the fields is as follows:
ACC_PUBLIC
, ACC_PROTECTED
,
ACC_PRIVATE
and ACC_STATIC
. Only one of
ACC_PUBLIC
, ACC_PROTECTED
, ACC_PRIVATE
can be
set. All other flags must be cleared.