void (@NotNull Object element, @Nullable Component component, @Nullable AnActionEvent e, @JdkConstants.InputEventMask int modifiers) { // element could be AnAction (SearchEverywhere) if (component == null) return; ApplicationManager.getApplication().invokeLater(() -> performActionImpl(element, component, e, modifiers)); }