@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() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment env) |
protected String |
nestedConfigurationPropertyAnnotation() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected ConfigurationMetadata |
writeMetaData() |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic ConfigurationMetadataAnnotationProcessor()
protected String configurationPropertiesAnnotation()
protected String nestedConfigurationPropertyAnnotation()
protected String deprecatedConfigurationPropertyAnnotation()
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion 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 © 2018 Pivotal Software, Inc.. All rights reserved.