@Override
  public @NotNull ActionUpdateThread getActionUpdateThread() {
    AnAction g1 = ActionManager.getInstance().getAction(IdeActions.GROUP_WEIGHING_NEW);
    AnAction g2 = ActionManager.getInstance().getAction(PROJECT_OR_MODULE_GROUP_ID);
    ActionUpdateThread t1 = g1 == null ? null : g1.getActionUpdateThread();
    ActionUpdateThread t2 = g2 == null ? null : g2.getActionUpdateThread();
    if (t1 == null && t2 == null) return ActionUpdateThread.BGT;
    if (t1 != null && t2 != null && t1 != t2) throw new AssertionError(t1 + "!=" + t2);
    return Objects.requireNonNullElse(t1, t2);
  }
@Override
  public @NotNull ActionUpdateThread getActionUpdateThread()