Next: , Previous: Code attributes, Up: Code attributes


7.5.1 LocalVariableModifiers Attribute

The LocalVariableModifiers attribute represents the BML modifiers of local variables declared in the method code. The structure of the attribute is the following:

     LocalVariableModifiers_attribute {
       u2 attribute_name_index;
       u4 attribute_length;
       u2 local_variables_count;
       {
         u2 BML_flags;
         u2 index;
       } local_variables[local_variables_count];
     }

The meaning of the fields is the following:

This table is the closely related to the information contained in the The ParameterTable attribute. All local variables which are not parameters must be described here [JCh: is this true? May-be those without modifier could be skipped? and those which are parameters must not be described.

This attribute, together with The ParameterTable attribute complete the information about local variables contained in The LocalVariableTable attribute.