void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { Project project = CommonDataKeys.PROJECT.getData(dataContext); if (project != null && CodeInsightSettings.getInstance().SHOW_PARAMETER_NAME_HINTS_ON_COMPLETION && ParameterInfoControllerBase.existsWithVisibleHintForEditor(editor, false)) { doSwitch(editor, caret == null ? editor.getCaretModel().getPrimaryCaret() : caret, project); } }