@Override
    public void freeze() {
        if (isFrozen()) return;
        for (QueryProfileType queryProfileType : allComponents())
            queryProfileType.freeze();
    }
Returns true if this has types in addition to the native Vespa types
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileTypeRegistry.java