public static void performAction(@NotNull Object element, @Nullable Component component, @Nullable AnActionEvent e) {
    performAction(element, component, e, 0);
  }
public static void performAction(@NotNull Object element, @Nullable Component component, @Nullable AnActionEvent e)