Skip to main content
Jump to: navigation, search

OT Bytecode Attributes/OTSpecialAccess

< OT Bytecode Attributes
Revision as of 00: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