mercredi 12 décembre 2018

What is the shortest, best, cleanest way to set a private field via Reflection in Java?

Hi I already worked with Reflection in Java. But if you are using the java standards (e.g. injecting a private field) you have to write a lot of code to get the job done.

What is the shortest way to inject a private field in an Java Object. Are there implementations in widely used and production ready libraries?





Aucun commentaire:

Enregistrer un commentaire