public DataType resolveStruct(ParsedStruct parsed) {
            String structId = context.name() + "->" + parsed.name();
            var r = structsFromSchemas.get(structId);
            if (r == null) {
                throw new IllegalArgumentException("no datatype found for struct: " + structId);
            }
            return r;
        }
Helper class for converting ParsedType instances to DataType

@author arnej27959
config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedTypes.java