docs: public void populateModule(final DistributionSet distributionSet) {
          removeAllItems();
          if (distributionSet != null) {
              if (isUnassignSoftModAllowed && permissionChecker.hasUpdateRepositoryPermission()) {
                  try {
                      isTargetAssigned = false;
                  } catch (final EntityReadOnlyException exception) {
                      isTargetAssigned = true;
                      LOG.info("Target already assigned for the distribution set: " + distributionSet.getName(),
                              exception);
                  }
              }
              final Set<SoftwareModuleType> swModuleMandatoryTypes = distributionSet.getType().getMandatoryModuleTypes();
              final Set<SoftwareModuleType> swModuleOptionalTypes = distributionSet.getType().getOptionalModuleTypes();
  
              if (!CollectionUtils.isEmpty(swModuleMandatoryTypes)) {
                  swModuleMandatoryTypes.forEach(swModule -> setSwModuleProperties(swModule, true, distributionSet));
              }
              if (!CollectionUtils.isEmpty(swModuleOptionalTypes)) {
                  swModuleOptionalTypes.forEach(swModule -> setSwModuleProperties(swModule, false, distributionSet));
              }
              setAmountOfTableRows(getContainerDataSource().size());
          }
  
      }