boolean (IdeaPluginDescriptor descriptor, @Nullable Map<PluginId, Set<String>> brokenPluginVersions) { if (brokenPluginVersions == null) { return BrokenPluginFileKt.isBrokenPlugin(descriptor); } Set<String> versions = brokenPluginVersions.get(descriptor.getPluginId()); return versions != null && versions.contains(descriptor.getVersion()); }