@Override
	public void addProposals(String start, CheckpointedStreamDefinitionException exception, CompletionKind kind,
			int detailLevel, List<String> proposals) {

		addAllModulesOfType(start.endsWith(" ") ? start : start + " ", processor, proposals);
		addAllModulesOfType(start.endsWith(" ") ? start : start + " ", sink, proposals);
	}
Construct a new ExpandOneDashToTwoDashesRecoveryStrategy given the parser.

@param parser the parser used to parse the text the partial module definition.
@param moduleRegistry the registry to use for looking up all processors or sinks that can be added
       after the pipe symbol.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/completion/ModulesAfterPipeRecoveryStrategy.java