void (AnAction action, PsiDirectory dir, CreateFileFromTemplateDialog.Builder builder) { String id = ActionManager.getInstance().getId(action); for (TemplateKindProvider provider : EP_NAME.getExtensionList()) { for (Kind kind : provider.getAdditionalKinds(dir)) { builder.addKind(kind.name, kind.icon, kind.templateName); } } }