This question already has an answer here:
I want to reflect a private list in Java, add some elements to an instance of it, and set the original list to the instance. How can I do this? I tried the using fields, but Java is unable to cast a Field to a List.
Aucun commentaire:
Enregistrer un commentaire