Closed 821938089 closed 3 weeks ago
This is a very generic question where the potential answers vary significantly based on the situation at hand, ranging from using the (to be removed) SecurityManager to disabling Java interop to using annotations
Am converting this to a discussion (for now)
Please provide more info
I want to hide some methods and fields from the script, but currently its visibility is controlled by a modifier, and once I use the private modifier this will cause my code to not be able to access this method as well.
ps: Using kotlin programming on android.