<< §1.3 Acquisition and implicit inheritance of role classes | ↑ Table of Contents ↑ | §1.5 Team and role nesting >> |
§1.4 Name clashes
OT/J restricts Java with respect to handling of conflicting names.
(a) Names of role classes
A role class may not have the same name as a method or field of its enclosing team. A role class may not shadow another class that is visible in the scope of the enclosing team.
<< §1.3 Acquisition and implicit inheritance of role classes | ↑ Table of Contents ↑ | §1.5 Team and role nesting >> |