private void setTemplatesList(@NotNull TemplatesGroup group) {
    List<ProjectTemplate> list = new ArrayList<>(myTemplatesMap.get(group));
    ModuleBuilder moduleBuilder = group.getModuleBuilder();
    if (moduleBuilder != null && !(moduleBuilder instanceof TemplateModuleBuilder)) {
      list.add(0, new BuilderBasedTemplate(moduleBuilder));
    }
    myTemplatesList.setTemplates(list, false);
  }
private void setTemplatesList(@NotNull TemplatesGroup group)