@SuppressWarnings({"rawtypes", "unchecked"})
    public static @NonNull CompletableFuture<Iterable<@NonNull Suggestion>> mapFuture(final @NonNull CompletableFuture future) {
        return future.thenApply(MethodSuggestionProvider::mapCompleted);
    }
Maps the future to a future of suggestions.

@param future the future
@return the mapped future
cloud-annotations/src/main/java/org/incendo/cloud/annotations/suggestion/MethodSuggestionProvider.java