void (@NotNull SearchPopup.Type type, @NotNull CollectionListModel<Object> model, int caretPosition) { hidePopup(); myPopup = new SearchPopup(myTextField, mySearchPopupListener, type, model, caretPosition); }