↑ Table of Contents ↑ | §3.4.(b) Sealing against decapsulation >> |
§3.4.(a) Callout to inaccessible base method
By means of callout bindings it is possible to access methods of a base class regardless of their access modifiers. Method bindings are the only place in a program which may mention otherwise inaccessible methods. Access to the callout method at the role side is controlled by regular mechanisms, based on the declaration of the role method.
↑ Table of Contents ↑ | §3.4.(b) Sealing against decapsulation >> |