@NlsContexts.Command
  private String getCommandName() {
    String text = getTemplatePresentation().getText();
    return text == null ? "" : text;
  }
@NlsContexts.Command
  private String getCommandName()