Java Question How to hide a class in B4J Library


Active Member
Licensed User
Longtime User
I have written a B4J library compiled using the B4J IDE suite.
It contains two classes.
Class ONE is used by class TWO, but I only want class TWO to be revealed in the library.
This means I only want others using my library to see class TWO.

I can't use @HIDE java directive as my library is written entirely in B4J.

I see the same question was asked here in 2014 by "wl"
Directive to "hide" classes / files in a library
but there was no answer to his post.

I suppose I could manually edit the library XML file, although it would be nice if
a new class directive like: #HideFromLibrary: TRUE
could be considered for the future.

Or, does something like this already exist?