IntentionPreviewInfo (@NotNull ActionContext context) { ModCommand command = perform(context); if (command instanceof ModChooseAction chooser) { String options = chooser.actions().stream().map(ModCommandAction::getFamilyName).collect(NlsMessages.joiningOr()); return new IntentionPreviewInfo.Html(LangBundle.message("intention.name.convert.number.to.with.text.preview", options)); } return IntentionPreviewUtils.getModCommandPreview(command, context); }