@ApiStatus.Internal
  FileChooserDescriptor withFileFilter(@Nullable Condition<? super VirtualFile> filter, String type) {
    myFileFilter = filter;
    putUserData(FILTER_TYPE, filter != null ? "other" : null);
    return this;
  }
@ApiStatus.Internal
  FileChooserDescriptor withFileFilter(@Nullable Condition<? super VirtualFile> filter, String type)