@Override @Nullable public Object invoke(@SuppressWarnings("null") MethodInvocation invocation) throws Throwable { Method method = invocation.getMethod(); return QueryExecutionConverters // .getExecutionAdapter(method.getReturnType()) // .apply(() -> resultHandler.postProcessInvocationResult(doInvoke(invocation), method)); }