@SuppressWarnings("unchecked")
    public @NonNull Suggestions<C, S> makeSuggestions() {
        final Stream<S> stream = this.suggestions.stream();
        final Stream<Suggestion> processedStream = this.processor.process(this.preprocessingContext, (Stream<Suggestion>) stream);
        final List<S> list;
        if (stream == processedStream) {
            // don't re-collect with a pass-through processor
            list = Collections.unmodifiableList(this.suggestions);
        } else {
            list = Collections.unmodifiableList(
                    processedStream
                            .peek(obj -> Objects.requireNonNull(obj, "suggestion"))
                            .map(this.mapper::map)
                            .collect(Collectors.toList())
            );
        }
        return Suggestions.create(this.commandContext, list, this.preprocessingContext.commandInput());
    }
Create {@link Suggestions} from the current context.

@return suggestions
cloud-core/src/main/java/org/incendo/cloud/internal/SuggestionContext.java