mardi 5 septembre 2017

How to prevent reflection to access a class or method in java

I have developed an android library and I want to prevent reflection to access my class fields and methods. I remember something about SecurityManager but I don't know if it can help.

How can I achieve such functionality ?





Aucun commentaire:

Enregistrer un commentaire