code: private void assertMetaDataQuota(final Long moduleId, final int requested) {
          final int maxMetaData = quotaManagement.getMaxMetaDataEntriesPerSoftwareModule();
          QuotaHelper.assertAssignmentQuota(moduleId, requested, maxMetaData, SoftwareModuleMetadata.class,
                  SoftwareModule.class, softwareModuleMetadataRepository::countBySoftwareModuleId);
      }
docs: Asserts the meta data quota for the software module with the given ID.
  
  @param moduleId
  The software module ID.
  @param requested
  Number of meta data entries to be created.