in class builder (SE24) there are the folders Friends & Aliases. Can any one explain what they are for ??
Thanks in advance
Generally users of a class may only access the public components of that class. Sometimes, however, you might want to create a closer link between classes. The concept of friends could be of use here.
In this case a class can permit explicitly named users (friends) to access its protected and private components.
All the users declared to be friends (classes and interfaces) were already created.
Select the defining class and change to the Class Editor.
Go to change mode.
Under Friends, enter the classes or interfaces for which you want to permit access to the protected and private components of the defining class.
If you specify an interface for Friends, this means that all the classes that implement this interface have access to the protected and private components.
If there are alias names (title element Aliases) for interface components, these are output in the method display instead of the long name.