IntentionPreviewInfo (@NotNull Project project, @NotNull ProblemDescriptor previewDescriptor) { Icon icon = FileTypeRegistry.getInstance().getFileTypeByFileName("package-info.java").getIcon(); HtmlChunk fragment = HtmlChunk.fragment(HtmlChunk.text(getFamilyName()), HtmlChunk.icon("file", icon)); return new IntentionPreviewInfo.Html(fragment); }