@Override
  public @Nullable IntentionAction createRenameFix(@NotNull PsiElement element) {
    PsiFile file = element.getContainingFile();
    if (file == null) return null;
    if(!element.isPhysical()) return null;
    ProblemDescriptor descriptor = new ProblemDescriptorBase(element,
                                         element,
                                         "",
                                         null,
                                         ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
                                         false,
                                         null,
                                         true,
                                         false);
    return QuickFixWrapper.wrap(descriptor, new RenameFix());
  }
@Override
  public @Nullable IntentionAction createRenameFix(@NotNull PsiElement element)