private Object getReturnType(ProxyTranslator.Translation translation, Reply reply) { if (translation.requiredDetailedResponse()) { return reply; } else { return reply.getData(); } }