@Nullable
  public static String getActionEventText(@Nullable AnActionEvent event) {
    return event != null ? getInputEventText(event.getInputEvent(), event.getPlace()) : null;
  }
@Nullable
  public static String getActionEventText(@Nullable AnActionEvent event)