Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

OT Bytecode Attributes/OTSpecialAccess

< OT Bytecode Attributes
Revision as of 01:20, 8 April 2010 by Resix.cs.tu-berlin.de (Talk | contribs) (New page: =Attribute OTSpecialAccess= ===Intent=== This attribute combines information about several situations where accessing one element across classes requires special treatment: * '''decapsula...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Back to the top