void (@NotNull PsiJavaCodeReferenceElement ref, @NotNull HighlightingFeature feature, @NotNull QuickFixActionRegistrar registrar) { List<IntentionAction> fixes = new ArrayList<>(); HighlightUtil.registerIncreaseLanguageLevelFixes(ref, feature, fixes); for (IntentionAction fix : fixes) { registrar.register(fix); } }