svoid setFieldOptToSingleObjectMethodProxy(O object, S field, O target, S methodName) { if (o == null) ret; Class type = fieldType(o, field); if (type == null) ret; // field doesn't exist set(o, field, singleObjectMethodProxy(type, target, methodName)); }