@Override
  public void invoke(@NotNull Project project, Editor editor, PsiFile file) {
    try {
      switch (myFixType) {
        case MAKE_FINAL -> makeFinal();
        case MAKE_ARRAY -> makeArray();
        case COPY_TO_FINAL -> copyToFinal(myVariable, myContext);
      }
    }
    catch (IncorrectOperationException e) {
      LOG.error(e);
    }
    finally {
      getVariablesToFix().clear();
    }
  }
@Override
  public void invoke(@NotNull Project project, Editor editor, PsiFile file)