public List<String> appendTextWithLinks(@Nls String text, @NotNull SimpleTextAttributes baseStyle) {
    List<String> pieces = new ArrayList<>();

    SimpleTextAttributes linkAttributes = getLinkAttributes(baseStyle);
    IssueNavigationConfiguration.processTextWithLinks(text, myIssueNavigationConfiguration.findIssueLinks(text),
                                                      s -> {
                                                        pieces.add(s);
                                                        append(s, baseStyle);
                                                      },
                                                      (link, target) -> {
                                                        pieces.add(link);
                                                        append(link, linkAttributes, target);
                                                      });

    return pieces;
  }
public List<String> appendTextWithLinks(@Nls String text, @NotNull SimpleTextAttributes baseStyle)