def METHOD_NAME(types, qualifier_types):
    for _, type in types.items():
        type_of_type = type['type']
        if type_of_type == TYPES.ARRAY.value:
            substitute_qualifier_type_in_array(type, qualifier_types)
        elif type_of_type == TYPES.FUNCTION.value:
            substitute_qualifier_types_in_function_type(type, qualifier_types)
        elif type_of_type == TYPES.POINTER.value:
            substitute_qualifier_type_in_pointer(type, qualifier_types)
        elif (type_of_type == TYPES.STRUCT.value or
                type_of_type == TYPES.UNION.value):
            substitute_qualifier_types_in_members(type, qualifier_types)
        elif type_of_type == TYPES.TYPEDEF.value:
            substitute_qualifier_type_in_typedef(type, qualifier_types)