In Java is it possible to add a member variable to a class using reflection at run time?
I saw Java examples that use reflection to change values of members variable from outside of the class at run time. It may be done for private and even final fields. May be there is a way to add a field to a class at run time using reflection ?
Aucun commentaire:
Enregistrer un commentaire