@Override
    public void onQueryProfile(QueryProfile profile,
                               DimensionBinding binding,
                               QueryProfile owner,
                               DimensionValues variant) {
        if (enteringContent) return; // not at leaf query profile
        if (profile.getType() == null) return;
        result = profile.getType().getField(name.get(name.size() - 1));
    }
The result, or null if none
container-search/src/main/java/com/yahoo/search/query/profile/FieldDescriptionQueryProfileVisitor.java