// startup class
specialProps.put(APP_STARTUP_CLASS, getClass().getName());
MutablePropertySources propertySources = new MutablePropertySources();
propertySources.addFirst(new MapPropertySource(appName, specialProps));
for (int i = properties.size() - 1; i >= 0; i--) {
propertySources.addFirst(asPropertySource(properties.get(i)));
}
return Pair.of(propertySources, specialProps);