IntentionPreviewInfo (@NotNull Project project, @NotNull PsiElement element) { if (element instanceof PsiExpression expression) { invoke(project, null, expression); return IntentionPreviewInfo.DIFF; } return IntentionPreviewInfo.EMPTY; }