|
|
|
@ -46,7 +46,6 @@ final class ConfigurationPropertiesBeanDefinition extends GenericBeanDefinition
|
|
|
|
|
private static <T> Supplier<T> createBean(ConfigurableListableBeanFactory beanFactory, String beanName,
|
|
|
|
|
Class<T> type) {
|
|
|
|
|
return () -> {
|
|
|
|
|
// FIXME review
|
|
|
|
|
ConfigurationProperties annotation = getAnnotation(type, ConfigurationProperties.class);
|
|
|
|
|
Validated validated = getAnnotation(type, Validated.class);
|
|
|
|
|
Annotation[] annotations = (validated != null) ? new Annotation[] { annotation, validated }
|
|
|
|
|