@TestOnly
  @Nullable
  public IntentionContainer getCachedIntentions() {
    return myPopup instanceof IntentionPopup popupImpl ? popupImpl.myCachedIntentions : null;
  }
@TestOnly
  @Nullable
  public IntentionContainer getCachedIntentions()