void (@NotNull String text, HyperlinkInfo info) { if (info instanceof DiffHyperlink.DiffHyperlinkInfo) { final DiffHyperlink diffHyperlink = ((DiffHyperlink.DiffHyperlinkInfo)info).getPrintable(); try { final DataOutputStream fileWriter = getFileWriter(); if (fileWriter != null) { IOUtil.writeString(HYPERLINK, fileWriter); IOUtil.writeString(diffHyperlink.getLeft(), fileWriter); IOUtil.writeString(diffHyperlink.getRight(), fileWriter); IOUtil.writeString(diffHyperlink.getFilePath(), fileWriter); IOUtil.writeString(diffHyperlink.getActualFilePath(), fileWriter); } } catch (FileNotFoundException e) { LOG.info(e); } catch (IOException e) { LOG.error(e); } } else { print(text, ConsoleViewContentType.NORMAL_OUTPUT); } }