IntentionPreviewInfo (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { UPolyadicExpression concatenation = getEnclosingLiteralConcatenation(descriptor.getPsiElement()); if (concatenation == null) { return IntentionPreviewInfo.EMPTY; } final List<UExpression> args = new ArrayList<>(); @NlsSafe String string = JavaI18nUtil .buildUnescapedFormatString(Objects.requireNonNull(UStringConcatenationsFacade.createFromTopConcatenation(concatenation)), args, project); return new IntentionPreviewInfo.Html(new HtmlBuilder().append(JavaI18nBundle.message("i18n.quickfix.preview.description")) .br().append(HtmlChunk.text(string).code()).toFragment()); }