IntentionAction (@NotNull PsiElement node, @Nullable TextRange range, @NotNull @InspectionMessage String message, @NotNull LocalQuickFix localQuickFix) { final LocalQuickFix[] quickFixes = {localQuickFix}; ProblemDescriptor descr = new ProblemDescriptorImpl(node, node, message, quickFixes, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, true, range, true); return QuickFixWrapper.wrap(descr, 0); }