private void removeFromDuplicates(@NotNull FileType type, @NotNull PluginDescriptor pluginDescriptor) {
    fileTypesPerPlugin
      .computeIfAbsent(pluginDescriptor, __ -> ConcurrentCollectionFactory.createConcurrentSet())
      .removeIf(descriptor -> descriptor.fileType().equals(type));
  }
private void removeFromDuplicates(@NotNull FileType type, @NotNull PluginDescriptor pluginDescriptor)