@SupportedAnnotationTypes(value="*") public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
Processor
that writes meta-data file for
@ConfigurationProperties
.processingEnv
Constructor and Description |
---|
ConfigurationMetadataAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected String |
configurationPropertiesAnnotation() |
protected String |
constructorBindingAnnotation() |
protected String |
defaultValueAnnotation() |
protected String |
deprecatedConfigurationPropertyAnnotation() |
protected String |
endpointAnnotation() |
Set<String> |
getSupportedOptions() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment env) |
protected String |
nestedConfigurationPropertyAnnotation() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected String |
readOperationAnnotation() |
protected ConfigurationMetadata |
writeMetaData() |
getCompletions, getSupportedAnnotationTypes, isInitialized
public ConfigurationMetadataAnnotationProcessor()
protected String configurationPropertiesAnnotation()
protected String nestedConfigurationPropertyAnnotation()
protected String deprecatedConfigurationPropertyAnnotation()
protected String constructorBindingAnnotation()
protected String defaultValueAnnotation()
protected String endpointAnnotation()
protected String readOperationAnnotation()
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public Set<String> getSupportedOptions()
getSupportedOptions
in interface Processor
getSupportedOptions
in class AbstractProcessor
public void init(ProcessingEnvironment env)
init
in interface Processor
init
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
protected ConfigurationMetadata writeMetaData() throws Exception
Exception