private static void addDefaultFields(@NotNull String toolWindowId,
                                @Nullable WindowInfoImpl windowInfo,
                                @Nullable ToolWindowEventSource source,
                                List<EventPair<?>> data) {
    PluginInfo info = getToolWindowInfo(toolWindowId);
    data.add(TOOLWINDOW_ID.with(toolWindowId));
    data.add(EventFields.PluginInfo.with(info));
    if (windowInfo != null) {
      data.add(VIEW_MODE.with(ViewMode.fromWindowInfo(windowInfo)));
      data.add(LOCATION.with(Anchor.fromWindowInfo(windowInfo)));
    }
    if (source != null) {
      data.add(SOURCE.with(source));
    }
  }
private static void addDefaultFields(@NotNull String toolWindowId,
                                @Nullable WindowInfoImpl windowInfo,
                                @Nullable ToolWindowEventSource source,
                                List<EventPair<?>> data)