void (@NotNull DocumentEvent e) { if (!mySearchTextField.isSkipDocumentEvents() && !mySearchUpdateAlarm.isDisposed()) { mySearchUpdateAlarm.cancelAllRequests(); mySearchUpdateAlarm.addRequest(this::searchOnTheFly, flyDelay, ModalityState.stateForComponent(mySearchTextField)); } }