void (@NotNull MarketplaceRequests marketplace, @NotNull PluginNode resultNode) { List<String> dependencyNames = resultNode.getDependencies().stream() .filter(dependency -> !dependency.isOptional()) .map(IdeaPluginDependency::getPluginId) .filter(PluginDetailsPageComponent::isNotPlatformModule) .map(pluginId -> { IdeaPluginDescriptorImpl existingPlugin = PluginManagerCore.findPlugin(pluginId); if (existingPlugin != null) return existingPlugin.getName(); PluginNode pluginFromMarketplace = marketplace.getLastCompatiblePluginUpdate(pluginId); return pluginFromMarketplace == null ? pluginId.getIdString() : pluginFromMarketplace.getName(); }) .toList(); resultNode.setDependencyNames(dependencyNames); }