void (@NotNull AnAction action, @NotNull AnActionEvent event) { JBPopup hint = getDocInfoHint(); if (hint != null && LookupManager.getActiveLookup(myEditor) == null && // let the lookup manage all the actions !Conditions.instanceOf(ACTION_CLASSES_TO_IGNORE).value(action) && !ArrayUtil.contains(event.getPlace(), ACTION_PLACES_TO_IGNORE) && !ContainerUtil.exists(ACTION_IDS_TO_IGNORE, id -> ActionManager.getInstance().getAction(id) == action) && clientOwns(hint)) { closeDocHint(); } }