@SuppressWarnings("CheckStyle")
    public Set<Tag> getAncestors() {
        return resolvedTags.stream()
            .flatMap(resolvedTag -> resolvedTag.ancestors.stream())
            .collect(Collectors.toSet());
    }
Container for styled tags declared on a scenario, including the necessary parents to display them.
jgiven-core/src/main/java/com/tngtech/jgiven/impl/tag/ResolvedTags.java