void (@NotNull AnActionEvent e) { if (!SystemInfo.isMac) return; Foundation.executeOnMainThread(false, false, () -> { ID app = Foundation.invoke("NSApplication", "sharedApplication"); Foundation.invoke(app, "orderFrontCharacterPalette:", (Object)null); }); }