public static @NotNull CachedIntentions create(@NotNull Project project,
                                                 @NotNull PsiFile file,
                                                 @Nullable Editor editor,
                                                 @NotNull ShowIntentionsPass.IntentionsInfo intentions) {
    CachedIntentions res = new CachedIntentions(project, file, editor, intentions.getTitle());
    res.wrapAndUpdateActions(intentions, false);
    return res;
  }
public static @NotNull CachedIntentions create(@NotNull Project project,
                                                 @NotNull PsiFile file,
                                                 @Nullable Editor editor,
                                                 @NotNull ShowIntentionsPass.IntentionsInfo intentions)