@Nullable
  @Deprecated(forRemoval = true)
  @CalledInAny
  public static VirtualFile getSelectedFile(@NotNull DataContext dataProvider) {
    FileEditor fileEditor = PlatformDataKeys.LAST_ACTIVE_FILE_EDITOR.getData(dataProvider);
    return fileEditor == null ? null : fileEditor.getFile();
  }
@Nullable
  @Deprecated(forRemoval = true)
  @CalledInAny
  public static VirtualFile getSelectedFile(@NotNull DataContext dataProvider)