@NotNull
  protected JBPopup createValueEditorPopup(@Nullable Object target,
                                           @Nullable T value,
                                           @Nullable Runnable onDispose,
                                           @NotNull DataContext dataContext,
                                           @NotNull Consumer<? super T> onChosen,
                                           @NotNull Runnable onCommit) {
    return createValueEditorActionListPopup(target, onDispose, dataContext, chosen -> {
      onChosen.consume(chosen);
      onCommit.run();
    });
  }
@NotNull
  protected JBPopup createValueEditorPopup(@Nullable Object target,
                                           @Nullable T value,
                                           @Nullable Runnable onDispose,
                                           @NotNull DataContext dataContext,
                                           @NotNull Consumer<? super T> onChosen,
                                           @NotNull Runnable onCommit)