List<JBPopup> (final @NotNull Component component) { return ContainerUtil.filter(all.toStrongList(), popup -> { Component owner = popup.getOwner(); while (owner != null) { if (owner.equals(component)) { return true; } owner = owner.getParent(); } return false; }); }