Microsoft SDK for Java

ActualAccessFlags

The ActualAccessFlags attribute applies to a field or method. It implements protection rules for inner and nested classes. This attribute specifies the access flags that the field or method was declared with.

The ActualAccessFlags attribute has the following layout:

ActualAccessFlags_attribute {
    u2 attribute_name_index;
    u4 attribute_length;
    u2 access_flags;
}

The items of the ActualAccessFlags structure are as follows:

attribute_name_index

This value must be a valid index into the constant_pool table. The constant_pool entry at that index must be the CONSTANT_Utf8_info structure representing the string "ActualAccessFlags".

attribute_length

This value indicates the length of this attribute, excluding the initial six bytes, and must be two.

access_flags

This value indicates a mask of modifiers used to describe the access permission flags that the field or method was declared with.

Remarks

This attribute is generated and used by the Microsoft® Visual J++® compiler. It is used where a method or field is declared as private and is accessed from a different class. This can occur in nested classes when one class is contained in another or both the classes are contained inside a common class.

The Microsoft VM does not currently use this attribute.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.