@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2012 - 2023 the original author or authors .
* Copyright 2012 - 2024 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -61,15 +61,15 @@ import org.springframework.boot.configurationprocessor.metadata.ItemMetadata;
@@ -61,15 +61,15 @@ import org.springframework.boot.configurationprocessor.metadata.ItemMetadata;
* @author Scott Frederick
* @since 1 . 2 . 0
* /
@SupportedAnnotationTypes ( { ConfigurationMetadataAnnotationProcessor . AUTO_CONFIGURATION_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . CONFIGURATION_PROPERTIES_ANNOTATION ,
@SupportedAnnotationTypes ( { ConfigurationMetadataAnnotationProcessor . CONFIGURATION_PROPERTIES_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . AUTO_CONFIGURATION_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . CONFIGURATION_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . CONTROLLER_ENDPOINT_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . ENDPOINT_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . JMX_ENDPOINT_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . REST_CONTROLLER_ENDPOINT_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . SERVLET_ENDPOINT_ANNOTATION ,
ConfigurationMetadataAnnotationProcessor . WEB_ENDPOINT_ANNOTATION ,
"org.springframework.context.annotation.Configuration" } )
ConfigurationMetadataAnnotationProcessor . WEB_ENDPOINT_ANNOTATION } )
public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor {
static final String ADDITIONAL_METADATA_LOCATIONS_OPTION = "org.springframework.boot.configurationprocessor.additionalMetadataLocations" ;
@ -86,6 +86,10 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
@@ -86,6 +86,10 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
static final String DEFAULT_VALUE_ANNOTATION = "org.springframework.boot.context.properties.bind.DefaultValue" ;
static final String AUTO_CONFIGURATION_ANNOTATION = "org.springframework.boot.autoconfigure.AutoConfiguration" ;
static final String CONFIGURATION_ANNOTATION = "org.springframework.context.annotation.Configuration" ;
static final String CONTROLLER_ENDPOINT_ANNOTATION = "org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint" ;
static final String ENDPOINT_ANNOTATION = "org.springframework.boot.actuate.endpoint.annotation.Endpoint" ;
@ -102,8 +106,6 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
@@ -102,8 +106,6 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
static final String NAME_ANNOTATION = "org.springframework.boot.context.properties.bind.Name" ;
static final String AUTO_CONFIGURATION_ANNOTATION = "org.springframework.boot.autoconfigure.AutoConfiguration" ;
private static final Set < String > SUPPORTED_OPTIONS = Collections
. unmodifiableSet ( Collections . singleton ( ADDITIONAL_METADATA_LOCATIONS_OPTION ) ) ;