List<IntentionAction> (@NotNull PsiElement highlightElement, LocalQuickFix @NotNull [] fixes) { InspectionManager inspectionManager = InspectionManager.getInstance(highlightElement.getProject()); // dummy problem descriptor, highlight element is only used ProblemDescriptor descriptor = inspectionManager.createProblemDescriptor( highlightElement, highlightElement, "", ProblemHighlightType.INFORMATION, true, LocalQuickFix.EMPTY_ARRAY ); return ContainerUtil.map(fixes, it -> new LocalQuickFixAsIntentionAdapter(it, descriptor)); }