private static @NotNull List<InspectionToolWrapper<?, ?>> findReportingTools(@NotNull List<? extends InspectionToolWrapper<?, ?>> toolWrappers,
                                                                               @NotNull String suppressedId,
                                                                               @NotNull Language language) {
    List<InspectionToolWrapper<?, ?>> wrappers = Collections.emptyList();
    List<String> mergedToolName = InspectionElementsMerger.getMergedToolNames(suppressedId);
    for (InspectionToolWrapper<?, ?> toolWrapper : toolWrappers) {
      String toolWrapperShortName = toolWrapper.getShortName();
      String alternativeID = toolWrapper.getTool().getAlternativeID();
      if (toolWrapper instanceof LocalInspectionToolWrapper wrapper &&
          (wrapper.getTool().getID().equals(suppressedId) ||
           suppressedId.equals(alternativeID) ||
           mergedToolName.contains(toolWrapperShortName))) {
        if (!wrapper.isUnfair() && toolWrapper.isApplicable(language)) {
          if (wrappers.isEmpty()) wrappers = new ArrayList<>();
          wrappers.add(toolWrapper);
        }
      }
      else if (toolWrapperShortName.equals(suppressedId) ||
               mergedToolName.contains(toolWrapperShortName) ||
               suppressedId.equals(alternativeID)) {
        //ignore global unused as it won't be checked anyway
        if (toolWrapper instanceof LocalInspectionToolWrapper ||
            toolWrapper instanceof GlobalInspectionToolWrapper wrapper && !wrapper.getTool().isGraphNeeded()) {
          if (wrappers.isEmpty()) wrappers = new ArrayList<>();
          wrappers.add(toolWrapper);
        }
      }
    }
    return wrappers;
  }
private static @NotNull List<InspectionToolWrapper<?, ?>> findReportingTools(@NotNull List<? extends InspectionToolWrapper<?, ?>> toolWrappers,
                                                                               @NotNull String suppressedId,
                                                                               @NotNull Language language)