boolean (@NotNull ChooseByNameViewModel base, @NotNull FindSymbolParameters parameters, @NotNull ProgressIndicator indicator, @NotNull Processor<Object> consumer) { return filterElementsWithWeights(base, parameters, indicator, res -> consumer.process(res.getItem())); }