vendredi 14 avril 2017

Change field value using cglib

Suppose we have object field of class java.lang.reflect.Field. It is possible to change value of that field of object o1 to the value of o2`s field by field.set(o1, o2). I am wondering whether it can be done faster with the help of some library, for example cglib?





Aucun commentaire:

Enregistrer un commentaire