I've started learning Reflection API.
In this test, I need to invoke a method that is sitting inside the instance cache of object Cache.
Reflection returns it as an instance of Field, and I am trying to cast it to Cache. But to no avail.
How could I fix this?
Aucun commentaire:
Enregistrer un commentaire