public List<QueryProfileVariant> getVariants() {
        if (frozen) return variants; // Already unmodifiable
        return Collections.unmodifiableList(variants);
    }
Returns all the variants of this, sorted by specificity. This is content as declared.
The returned list is always unmodifiable.
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileVariants.java