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/CallinFlags

< OT Bytecode Attributes
Revision as of 00:22, 8 April 2010 by Resix.cs.tu-berlin.de (Talk | contribs) (New page: =Attribute CallinFlags= ===Intent=== The CallinFlags attribute is a fixed-length attribute used in the attributes table of method_info structures. ===Location:=== A role method or a call...)

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

Attribute CallinFlags

Intent

The CallinFlags attribute is a fixed-length attribute used in the attributes table of method_info structures.

Location:

A role method or a callin wrapper.

Content:

An integer encoding the callin flags.

Purpose:

CALLIN_FLAG_OVERRIDING: if set, this method is overriding an inherited version. The OTRE uses this information to realize the inheritance of method bindings. (OTRE internal: This flag prevents the OTRE from generating an empty base-call-surrogate which would wrongly override an inherited (non-empty) version.)

Format:

   CallinFlags {
     u2 attribute_name_index;
     u4 attribute_length;
     u2 callin_flags;
    } 

The items of the CallinFlags 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.
  • callin_flags
The value of the callin_flags item is a mask of flags (used to denote ...). The interpretation of each flag, when set, is as shown in the following:

Back to the top