How to access a member of a class in Java with a modifier 'protected' using Javacode or inline java in B4J so that a new instance can be initialized from it.
e.g.,
I searched in the forum and found the jReflection library of Mr. Graham @agraham but I could not figure out the way it accesses the Java objects
not exposed to the B4J language.
The working answer will be greatly appreciated.
e.g.,
B4X:
dim Obj as JavaObject = (Me).As(JavaObject).InitializeNewInstance("classA.classB.protectedClassMember",Null);
not exposed to the B4J language.
The working answer will be greatly appreciated.