@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 |
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, isInitializedpublic ConfigurationMetadataAnnotationProcessor()
protected String configurationPropertiesAnnotation()
protected String nestedConfigurationPropertyAnnotation()
protected String deprecatedConfigurationPropertyAnnotation()
protected String endpointAnnotation()
protected String readOperationAnnotation()
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic Set<String> getSupportedOptions()
getSupportedOptions in interface ProcessorgetSupportedOptions in class AbstractProcessorpublic void init(ProcessingEnvironment env)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected ConfigurationMetadata writeMetaData() throws Exception
ExceptionCopyright © 2020 Pivotal Software, Inc.. All rights reserved.