Netbeans Module Visibility
Netbeans RPC introduces new package visibility or so call friend package. This function allows the developer to specify if their code is publicly available or only visible to certain packages. It can be done simply > module > properties > API Versioning and tick those packages that you want to make it as public. The packages need to be public before they can be shared to friends. To share to friend packages, under the API version, just add your friend packages. If no friend is specify, it is available to all parties.
How about those modules that already comes with and developer only wanted to use it and found it is fixed to a set of friends only? One way is to modify the module’s jar manifest file. We just need to remove the OpenIDE-Module-Friends entry, restart the IDE and we will able to use that module.