private boolean needsGlobalReferenceGraph() {
    return ContainerUtil.exists(getUsedTools(), tool -> tool.getTool() instanceof GlobalInspectionToolWrapper globalWrapper &&
                                                        globalWrapper.getTool().isGraphNeeded());
  }
private boolean needsGlobalReferenceGraph()