@Override
public void addProposals(String dsl, CheckPointedParseException exception, int detailLevel, List<CompletionProposal> collector) {
String safe = exception.getExpressionStringUntilCheckpoint();
StreamDefinition streamDefinition = new StreamDefinition("__dummy", safe);
StreamAppDefinition lastApp = streamDefinition.getDeploymentOrderIterator().next();
AppRegistration appRegistration = this.collectorSupport.findAppRegistration(lastApp.getName(),
CompletionUtils.determinePotentialTypes(lastApp, streamDefinition.getAppDefinitions().size() > 1));
if (appRegistration != null) {
String startsWith = ProposalsCollectorSupportUtils.computeStartsWith(exception);
Set<String> alreadyPresentOptions = new HashSet<>(lastApp.getProperties().keySet());
this.collectorSupport.addPropertiesProposals(safe, startsWith, appRegistration, alreadyPresentOptions, collector, detailLevel);
}
}
}