public static @Nullable IntentionAction createFix(@NotNull PsiVariable variable) {
    if (!(variable instanceof PsiLocalVariable local)) return null;
    EffectivelyFinalFixer fixer = ContainerUtil.find(EffectivelyFinalFixer.EP_NAME.getExtensionList(), f -> f.isAvailable(local));
    if (fixer == null) return null;
    return new MakeVarEffectivelyFinalFix(local, fixer).asIntention();
  }
public static @Nullable IntentionAction createFix(@NotNull PsiVariable variable)