private static void considerNestedFields(List<ImportedField> importedFields, ImportedField field) {
        if (field instanceof ImportedComplexField complexField) {
            complexField.getNestedFields().forEach(nestedField -> considerSimpleField(importedFields, nestedField));
        }
    }
This class derives imported fields from search definition and produces imported-fields.cfg as needed by the search backend.

@author geirst
config-model/src/main/java/com/yahoo/schema/derived/ImportedFields.java