void (Collection<? extends IdeaPluginDescriptor> descriptors, List<IdeaPluginDescriptor> firstAccumulator, List<IdeaPluginDescriptor> secondAccumulator, Predicate<IdeaPluginDescriptor> predicate) { for (var descriptor : descriptors) { if (!descriptor.isBundled()) { (predicate.test(descriptor) ? firstAccumulator : secondAccumulator).add(descriptor); } } }