JBPopup (@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(); }); }