@NotNull
  @Override
  public VirtualFile getDefaultDir(@Nullable Project project) {
    if (project != null) {
      @SuppressWarnings("deprecation")
      VirtualFile baseDir = project.getBaseDir();
      if (baseDir != null) {
        return baseDir;
      }
    }
    return super.getDefaultDir(project);
  }
@NotNull
  @Override
  public VirtualFile getDefaultDir(@Nullable Project project)