private @NotNull List<LanguageGeneratorItem> fillLanguageGeneratorTemplateMap(@NotNull WizardContext context) {
    var generators = new ArrayList<GeneratorNewProjectWizard>();
    //noinspection deprecation
    LanguageNewProjectWizard.EP_NAME.forEachExtensionSafe(wizard -> {
      generators.add(new LegacyLanguageGeneratorNewProjectWizard(context, wizard));
    });
    LanguageGeneratorNewProjectWizard.EP_NAME.forEachExtensionSafe(wizard -> {
      generators.add(new BaseLanguageGeneratorNewProjectWizard(context, wizard));
    });
    generators.removeIf(it -> !it.isEnabled());
    generators.sort(Comparator.comparing(it -> it.getOrdinal()));
    if (context.isCreatingNewProject()) {
      GeneratorNewProjectWizard.EP_NAME.forEachExtensionSafe(wizard -> {
        generators.add(wizard);
      });
    }
    var generatorItems = ContainerUtil.map(generators, it -> new LanguageGeneratorItem(it));
    for (var generatorItem : generatorItems) {
      myTemplatesMap.put(generatorItem.getGroup(), new ArrayList<>());
    }
    return generatorItems;
  }
private @NotNull List<LanguageGeneratorItem> fillLanguageGeneratorTemplateMap(@NotNull WizardContext context)