protected EnabledInspectionsProvider createEnabledInspectionsProvider(@NotNull List<? extends Tools> localTools,
                                                                        @NotNull List<? extends Tools> globalSimpleTools,
                                                                        @NotNull Project project) {
    return new EnabledInspectionsProvider() {
      @NotNull
      @Override
      public ToolWrappers getEnabledTools(@Nullable PsiFile psiFile, boolean includeDoNotShow) {
        return new ToolWrappers(
          localTools.stream()
            .map(tool -> tool.getEnabledTool(psiFile, includeDoNotShow))
            .filter(wrapper -> wrapper instanceof LocalInspectionToolWrapper)
            .map(wrapper -> (LocalInspectionToolWrapper)wrapper)
            .toList(),
          globalSimpleTools.stream()
            .map(tool -> tool.getEnabledTool(psiFile, includeDoNotShow))
            .filter(wrapper -> wrapper instanceof GlobalInspectionToolWrapper)
            .map(wrapper -> (GlobalInspectionToolWrapper)wrapper)
            .toList()
        );
      }
    };
  }
protected EnabledInspectionsProvider createEnabledInspectionsProvider(@NotNull List<? extends Tools> localTools,
                                                                        @NotNull List<? extends Tools> globalSimpleTools,
                                                                        @NotNull Project project)