@Override
  public @Nls String generateDoc(PsiElement element, @Nullable PsiElement originalElement) {
    if (!(element instanceof InspectionElement)) {
      return null;
    }

    InspectionToolWrapper toolWrapper = ((InspectionElement)element).getToolWrapper();
    String description = toolWrapper.loadDescription();
    if (description == null) {
      return null;
    }
    return DocumentationMarkup.DEFINITION_START + StringUtil.escapeXmlEntities(toolWrapper.getDisplayName()) + DocumentationMarkup.DEFINITION_END +
           DocumentationMarkup.CONTENT_START +
           InspectionNodeInfo.stripUIRefsFromInspectionDescription(description) +
           DocumentationMarkup.CONTENT_END;
  }
@Override
  public @Nls String generateDoc(PsiElement element, @Nullable PsiElement originalElement)