Class ConfigurationPropertyAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- io.microsphere.annotation.processor.ConfigurationPropertyAnnotationProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes("io.microsphere.annotation.ConfigurationProperty") public class ConfigurationPropertyAnnotationProcessor extends javax.annotation.processing.AbstractProcessor
TheProcessor
for theConfigurationProperty
annotation- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ConfigurationProperty
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME
Theclass
name ofConfigurationProperty
static java.lang.String
CONFIGURATION_PROPERTY_METADATA_RESOURCE_NAME
The resource name ofConfigurationProperty
metadata
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertyAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersion
getSupportedSourceVersion()
void
init(javax.annotation.processing.ProcessingEnvironment processingEnv)
boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Field Detail
-
CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME
public static final java.lang.String CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME
Theclass
name ofConfigurationProperty
- See Also:
- Constant Field Values
-
CONFIGURATION_PROPERTY_METADATA_RESOURCE_NAME
public static final java.lang.String CONFIGURATION_PROPERTY_METADATA_RESOURCE_NAME
The resource name ofConfigurationProperty
metadata- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
- Specified by:
init
in interfacejavax.annotation.processing.Processor
- Overrides:
init
in classjavax.annotation.processing.AbstractProcessor
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedSourceVersion
in classjavax.annotation.processing.AbstractProcessor
-
-