{
Set<String> unsupportedProperties = new TreeSet<>(propertyNames);
Set<String> deprecatedProperties = new TreeSet<>(propertyNames);
for (AttributeMetadata attribute : metadata.getAttributes().values()) {
final String property = attribute.getInjectionPoint().getProperty();
final MapClasses mapClasses = attribute.getMapClasses();
if (property != null) {
markPropertySupported(property, mapClasses, unsupportedProperties, deprecatedProperties);
}
for (ConfigurationMetadata.InjectionPointMetaData deprecated : attribute.getLegacyInjectionPoints()) {
markPropertySupported(deprecated.getProperty(), mapClasses, unsupportedProperties, null);