protected void visitVariants(boolean allowContent, QueryProfileVisitor visitor, DimensionBinding dimensionBinding) {
        if (getVariants() != null)
            getVariants().accept(allowContent, getType(), visitor, dimensionBinding);
    }
Visit the profiles and values referenced from this in order of decreasing precedence

@param allowContent whether content in this should be visited
@param visitor the visitor
@param dimensionBinding the dimension binding to use
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfile.java