void (@NotNull Component component, @NotNull Consumer<? super HoverListener> notify) { for (HoverListener listener : HoverListener.getAll(component)) { try { notify.accept(listener); } catch (Exception exception) { LOG.error(exception); } } }