@SupportedAnnotationTypes(value={"org.springframework.boot.context.properties.ConfigurationProperties","org.springframework.boot.actuate.endpoint.annotation.Endpoint","org.springframework.context.annotation.Configuration"})
public class ConfigurationMetadataAnnotationProcessor
extends javax.annotation.processing.AbstractProcessor
Processor that writes meta-data file for
@ConfigurationProperties.| Constructor and Description |
|---|
ConfigurationMetadataAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
configurationPropertiesAnnotation() |
protected java.lang.String |
constructorBindingAnnotation() |
protected java.lang.String |
defaultValueAnnotation() |
protected java.lang.String |
deprecatedConfigurationPropertyAnnotation() |
protected java.lang.String |
endpointAnnotation() |
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment env) |
protected java.lang.String |
nameAnnotation() |
protected java.lang.String |
nestedConfigurationPropertyAnnotation() |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
protected java.lang.String |
readOperationAnnotation() |
protected ConfigurationMetadata |
writeMetaData() |
public ConfigurationMetadataAnnotationProcessor()
protected java.lang.String configurationPropertiesAnnotation()
protected java.lang.String nestedConfigurationPropertyAnnotation()
protected java.lang.String deprecatedConfigurationPropertyAnnotation()
protected java.lang.String constructorBindingAnnotation()
protected java.lang.String defaultValueAnnotation()
protected java.lang.String endpointAnnotation()
protected java.lang.String readOperationAnnotation()
protected java.lang.String nameAnnotation()
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic java.util.Set<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.ProcessorgetSupportedOptions in class javax.annotation.processing.AbstractProcessorpublic void init(javax.annotation.processing.ProcessingEnvironment env)
init in interface javax.annotation.processing.Processorinit in class javax.annotation.processing.AbstractProcessorpublic boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessorprotected ConfigurationMetadata writeMetaData() throws java.lang.Exception
java.lang.Exception