public static String getTextToCompare(@NotNull String id) {
    Presentation presentation = getTemplatePresentation(id, null);
    String text = presentation == null ? null : presentation.getText();
    return text == null ? id : text;
  }
public static String getTextToCompare(@NotNull String id)