@SuppressWarnings("TestOnlyProblems")
  private static CreateFileFromTemplateDialog.Builder createDialogBuilder(@NotNull Project project) {
    CreateFileFromTemplateDialog.Builder builder = CreateFileFromTemplateDialog.createDialog(project);
    builder
      .setTitle(PyBundle.message("dialog.title.new.python.package"))
      .addKind(PyBundle.message("new.package.list.item.ordinary.package"), AllIcons.Nodes.Package, ORDINARY_PACKAGE_TYPE);

    if (PyNamespacePackagesService.isEnabled() && RegistryManager.getInstance().is("python.create.namespace.package.action")) {
      builder.addKind(PyBundle.message("new.package.list.item.namespace.package"), AllIcons.Nodes.Package, NAMESPACE_PACKAGE_TYPE);
    }

    return builder;
  }
@SuppressWarnings("TestOnlyProblems")
  private static CreateFileFromTemplateDialog.Builder createDialogBuilder(@NotNull Project project)