tchart Well-Known Member Licensed User Longtime User Jun 11, 2017 #1 I have a library written in B4J (or compile to library). I have a sub in one class which I need to hide from the end user of the library but keep it accessible to the other classes in the library. Making it private hides it from the other classes. Is that possible?
I have a library written in B4J (or compile to library). I have a sub in one class which I need to hide from the end user of the library but keep it accessible to the other classes in the library. Making it private hides it from the other classes. Is that possible?
EnriqueGonzalez Expert Licensed User Longtime User Jun 11, 2017 #2 I think it is possible, but it is only a theory. There is a hide annotation that erel uses for the official libraries, but it is only available for java. When you compile B4J it creates the java resources, you may modify it with the java anotation and finish the compilation process with the jdk. Upvote 0
I think it is possible, but it is only a theory. There is a hide annotation that erel uses for the official libraries, but it is only available for java. When you compile B4J it creates the java resources, you may modify it with the java anotation and finish the compilation process with the jdk.
R Roycefer Well-Known Member Licensed User Longtime User Jun 11, 2017 #3 Or you could try cutting it out of the resulting .xml file. Upvote 0
alwaysbusy Expert Licensed User Longtime User Jun 11, 2017 #4 make it a protected method, and use the @Hide annotation. Upvote 0