private void checkFileTypeNamesUniqueness(@NotNull FileTypeWithDescriptor newDescriptor) {
    fileTypesPerPlugin.computeIfAbsent(newDescriptor.pluginDescriptor(), __ -> ConcurrentHashMap.newKeySet()).add(newDescriptor);
    if (ApplicationManager.getApplication().isUnitTestMode()) {
      checkUnique();
    }
    else {
      checkDuplicatedAlarm.tryEmit(Unit.INSTANCE);
    }
  }
private void checkFileTypeNamesUniqueness(@NotNull FileTypeWithDescriptor newDescriptor)