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