private void addAllModulesOfType(List<String> results, String start, ModuleType type) {
		String beginning = start.length() == 0 || start.endsWith(" ") ? start : start + " ";
		List<ModuleDefinition> mods = moduleRegistry.findDefinitions(type);
		for (ModuleDefinition mod : mods) {
			results.add(beginning + mod.getName());
		}
	}
Construct a new EmptyStartYieldsModulesRecoveryStrategy given the parser and ModuleDefinition repository.

@param parser the parser used to parse the text the partial module definition.
@param moduleRegistry the registry to use for looking up all modules of a given type.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/completion/EmptyStartYieldsModulesRecoveryStrategy.java