@ApiStatus.Internal
  public static UsageInfo createMoveRenameUsageInfo(@NotNull PsiElement element,
                                                    @NotNull PsiReference ref,
                                                    @NotNull PsiElement referenceElement) {
    return new MoveRenameUsageInfo(referenceElement, ref,
                                   ref.getRangeInElement().getStartOffset(),
                                   ref.getRangeInElement().getEndOffset(),
                                   element,
                                   ref.resolve() == null &&
                                   !(ref instanceof PsiPolyVariantReference &&
                                     ((PsiPolyVariantReference)ref).multiResolve(true).length > 0));
  }
@ApiStatus.Internal
  public static UsageInfo createMoveRenameUsageInfo(@NotNull PsiElement element,
                                                    @NotNull PsiReference ref,
                                                    @NotNull PsiElement referenceElement)