private static @Nullable CachedValueProfiler.EventConsumer openDumpViewer(@NotNull Project project) {
    VirtualFile file = LIVE_PROFILING_FILE;
    List<FileEditorProvider> providers = FileEditorProviderManager.getInstance().getProviderList(project, file);
    if (providers.size() == 1 && "cvp-editor".equals(providers.get(0).getEditorTypeId())) {
      FileEditor[] editors = FileEditorManager.getInstance(project).openFile(file, true, false);
      FileEditor editor = editors.length > 0 ? editors[0] : null;
      if (editor instanceof EventConsumerFactory) {
        return ((EventConsumerFactory)editor).createEventConsumer();
      }
    }
    return null;
  }
private static @Nullable CachedValueProfiler.EventConsumer openDumpViewer(@NotNull Project project)