Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
OT Bytecode Attributes/OTSpecialAccess
< OT Bytecode Attributes
Revision as of 01:20, 8 April 2010 by Unnamed Poltroon (Talk) (New page: =Attribute OTSpecialAccess= ===Intent=== This attribute combines information about several situations where accessing one element across classes requires special treatment: * '''decapsula...)
Attribute OTSpecialAccess
Intent
This attribute combines information about several situations where accessing one element across classes requires special treatment:
- decapsulation (base method accessed by role) => OTRE removes protection
- callout-to-field (base field accessed by role) => OTRE adds setter/getter
- base-class access -- two situations
- base-class decapsulation (role accesses invisible base-class) => OTRE removes protection
- super-base-class access (team adapts a super of a declared base-class)
Location:
TODO
Content:
TODO
Purpose:
TODO
Format:
TODO
The items of the OTSpecialAccess structure are as follows:
- attribute_name_index
- The constant_pool entry at that index must be a CONSTANT_Utf8_info representing the string "CallinRoleBaseBindings".
- attribute_length
- The value of the attribute_length item indicates the length of the attribute, excluding the initial six bytes.
- TODO