private void writeInspectionDescription(final @NotNull Writer w,
                                          final @NotNull InspectionToolWrapper toolWrapper,
                                          final @NotNull Transformer transformer)
    throws IOException, ConversionException {

    final StringWriter descrWriter = new StringWriter();
    String descr = toolWrapper.loadDescription();
    if (descr == null) {
      return;
    }
    // convert line ends to xml form
    descr = descr.replace("<br>", "<br/>");

    try {

      transformer.transform(new StreamSource(new StringReader(descr)), new StreamResult(descrWriter));
    }
    catch (TransformerException e) {
      // Not critical problem, just inspection error cannot be loaded
      warn("ERROR:  Cannot load description for inspection: " + getToolPresentableName(toolWrapper) + ".\n        Error message: " + e.getMessage());
      return;
    }

    final String trimmedDesc = descrWriter.toString().trim();
    final String[] descLines = StringUtil.splitByLines(trimmedDesc);
    for (String descLine : descLines) {
      w.append("  ").append(descLine.trim()).append("\n");
    }
  }
private void writeInspectionDescription(final @NotNull Writer w,
                                          final @NotNull InspectionToolWrapper toolWrapper,
                                          final @NotNull Transformer transformer)