protected @NlsContexts.DialogTitle String getChooserTitle() {
    String text = getTemplatePresentation().getText();
    if (text != null && text.endsWith("...")) {
      text = StringUtil.trimEnd(text, "...");
    }
    return JavaBundle.message("create.class.mapping.dialog.title", text);
  }
protected @NlsContexts.DialogTitle String getChooserTitle()