AnActionEvent (@Nullable AnAction action, @Nullable DataContext context, @Nullable InputEvent inputEvent) { return AnActionEvent.createFromInputEvent( inputEvent, PLACE, action == null ? null : action.getTemplatePresentation().clone(), context != null ? context : DataManager.getInstance().getDataContext(), false, false); }