private static @NotNull List<LinkController> filterLinkControllerListeners(Object @NotNull [] listeners) {
    return ContainerUtil.mapNotNull(listeners, o -> ObjectUtils.tryCast(o, LinkController.class));
  }
private static @NotNull List<LinkController> filterLinkControllerListeners(Object @NotNull [] listeners)