public void addField(FieldDescription fieldDescription) {
        // Compound names translates to new types, which must be added to a supplied registry
        if (fieldDescription.getCompoundName().isCompound())
            throw new IllegalArgumentException("Adding compound names is only legal when supplying a registry");
        addField(fieldDescription, null);
    }
Adds a field to this, without associating with a type registry; field descriptions with compound
is not be supported.

@throws IllegalStateException if this is frozen
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileType.java