vendredi 3 août 2018

Cast String to a value obtained using reflection

So I'm getting a value that I know is an String from another class using reflection, but when I try to cast (String) to it, a ClassCastException is thrown as String cannot be cast to field. Can someone help me?





Aucun commentaire:

Enregistrer un commentaire