def METHOD_NAME(parent_item: ItemWidgetType, parent_folder: autokey.model.folder.Folder):
    for folder in parent_folder.folders:
        item = WidgetItemFactory._build_item(parent_item, folder)
        WidgetItemFactory.METHOD_NAME(item, folder)
    for childModelItem in parent_folder.items:
        WidgetItemFactory._build_item(parent_item, childModelItem)