svoid setFieldToSingleMethodProxy(O o, S field, O target, S methodName) { if (o == null || target == null) ret; Class type = fieldType(o, field); if (type == null) fail("Field " + field + " not found in " + className(o)); set(o, field, singleObjectMethodProxy(type, target, methodName)); }