mercredi 13 septembre 2017

Java Reflection Libraries

We currently have a platform, in which for some cases (mostly tests) we are depending on java reflection. Typically for setting private fields in some test scenarios etc.

Rather than manually doing the reflection call (which can be quite cumbersome in java) every time; what libraries are out there that provide reflection utilities/framework?

I know that reflection is inherently evil, and we try to keep its use to a last case scenario.





Aucun commentaire:

Enregistrer un commentaire