protected List<ModuleDefinition> createModuleDefinitions(List<ModuleDescriptor> moduleDescriptors) {
		List<ModuleDefinition> moduleDefinitions = new ArrayList<ModuleDefinition>(moduleDescriptors.size());
		for (ModuleDescriptor moduleDescriptor : moduleDescriptors) {
			moduleDefinitions.add(moduleDescriptor.getModuleDefinition());
		}
		return moduleDefinitions;
	}
Create a list of ModuleDefinitions given the results of parsing the definition.

@param moduleDescriptors The list of ModuleDescriptors resulting from parsing the definition.
@return a list of ModuleDefinitions
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/AbstractDeployer.java