@NotNull
  @Override
  public AutomaticRenamer createRenamer(@NotNull final PsiElement element,
                                        @NotNull final String newName,
                                        @NotNull final Collection<UsageInfo> usages) {
    return new RelatedFilesRenamer((PsiFile)element, newName);
  }
@NotNull
  @Override
  public AutomaticRenamer createRenamer(@NotNull final PsiElement element,
                                        @NotNull final String newName,
                                        @NotNull final Collection<UsageInfo> usages)