@SuppressWarnings("all")
    public static <T> Type getCallBackType(final Class<T> clazz) {
        return new TypeToken<CompletableFuture<T>>() { }
                .where(new TypeParameter<T>() { }, TypeToken.of(WRAPPER_TYPE_MAP.getOrDefault(clazz, clazz)))
                .getType();
    }
Get return type.

@param <T>   T
@param clazz clazz
@return the type
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-tars/src/main/java/org/apache/shenyu/plugin/tars/util/ReturnValueResolver.java