Guest User

Untitled

a guest
May 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. invokeFieldAccessor(property.getField(), this.instance, theValue,
  2. new FieldAccessorHandler() {
  3.  
  4. @Override
  5. public synchronized Object accessField(
  6. final Field field, final Object objectInstance,
  7. final Object value) {
  8. try {
  9. field.set(objectInstance, value);
  10. } catch (Exception e) {
  11. return null;
  12. }
  13. return null;
  14. }
  15. });
Add Comment
Please, Sign In to add comment