@Override
    public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
      final PsiElement file = descriptor.getPsiElement();
      if (!(file instanceof PsiFile)) {
        return;
      }
      CodeStyleManager.getInstance(project).reformat(file, true);
    }
@Override
    public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor)