// Property map
for (PropertyInfo propertyInfo : info.getProperties(Properties.class)) {
Properties propertyAnnotation = propertyInfo.getAnnotation(Properties.class);
if (propertyInfo instanceof MapPropertyInfo) {
MapPropertyInfo mapPropertyInfo = (MapPropertyInfo)propertyInfo;
PropertyMapMapping simpleMapping = new PropertyMapMapping();
PropertyMapping<PropertyMapMapping> propertyMapping = new PropertyMapping<PropertyMapMapping>(mapPropertyInfo, simpleMapping);
propertyMappings.add(propertyMapping);
} else {
throw new IllegalStateException();