public void addAdvertisement(@PopupAdvertisement @NotNull String text, @Nullable Icon icon) {
    ThreadingAssertions.assertEventDispatchThread();
    myTexts.add(new Item(text, icon));
    updateAdvertisements();
  }
public void addAdvertisement(@PopupAdvertisement @NotNull String text, @Nullable Icon icon)