@Override
  public final boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    if (file == null || !file.isValid()) return false;
    VirtualFile vFile = file.getVirtualFile();
    if (vFile == null) return false;
    VirtualFile parent = vFile.getParent();
    if (parent == null) return false;
    VirtualFile newVFile = parent.findChild(myNewFileName);
    return newVFile == null || newVFile.equals(vFile);
  }
@Override
  public final boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)