boolean (@NotNull ChooseByNameViewModel base, @NotNull FindSymbolParameters parameters, @NotNull ProgressIndicator indicator, @NotNull Processor<? super FoundItemDescriptor<?>> consumer) { return ProgressManager.getInstance().computePrioritized( () -> filterElements(base, indicator, myContext == null ? null : myContext.getElement(), () -> base.getModel().getNames(parameters.isSearchInLibraries()), consumer, parameters)); }