void (@NotNull PsiVariable var, @Nullable HighlightInfo.Builder highlightInfo) { if (var instanceof PsiField) { QuickFixAction.registerQuickFixActions( highlightInfo, null, JvmElementActionFactories.createModifierActions((PsiField)var, MemberRequestsKt.modifierRequest(JvmModifier.FINAL, false)) ); } else { IntentionAction action = QuickFixFactory.getInstance().createModifierListFix(var, PsiModifier.FINAL, false, false); if (highlightInfo != null) { highlightInfo.registerFix(action, null, null, null, null); } } }