boolean (int keyCode, @NotNull String searchQuery) { if (isUpDownHomeEnd(keyCode)) { UIEventLogger.IncrementalSearchNextPrevItemSelected.log(myComponent.getClass()); Object element = findTargetElement(keyCode, searchQuery); if (element != null) { selectElement(element, searchQuery); return true; } } return false; }