@Override
    protected void doFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
      final PsiElement element = descriptor.getStartElement().getParent();
      if (element instanceof PsiVariable variable) {
        final PsiType type = getSuggestedType(variable);
        if (type != null) {
          var handler = CommonJavaRefactoringUtil.getRefactoringSupport().getChangeTypeSignatureHandler();
          handler.runHighlightingTypeMigrationSilently(project, null, PsiSearchHelper.getInstance(project).getUseScope(variable), variable, type);
        }
      }
    }
@Override
    protected void doFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor)