@Override
  public @Nullable JBPopup getFocusedPopup() {
    for (JBPopup each : myAllPopups) {
      if (each != null && each.isFocused()) return each;
    }
    return null;
  }
@Override
  public @Nullable JBPopup getFocusedPopup()