private Map<String, DataTypeComponent> indexStructFields() {
		if (structureDataType == null) {
			return Map.of();
		}
		Map<String, DataTypeComponent> result = new HashMap<>();
		for (DataTypeComponent dtc : structureDataType.getDefinedComponents()) {
			String fieldName = dtc.getFieldName();
			if (fieldName != null) {
				result.put(fieldName.toLowerCase(), dtc);
			}
		}
		return result;
	}
Initializes any {@link ContextField} fields in a new structure instance.

@param context {@link StructureContext}
@throws IOException if error assigning values to context fields in the structure mapped
instance
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureMappingInfo.java