Class AutoConfigureAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.springframework.boot.autoconfigureprocessor.AutoConfigureAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"org.springframework.boot.autoconfigure.condition.ConditionalOnClass","org.springframework.boot.autoconfigure.condition.ConditionalOnBean","org.springframework.boot.autoconfigure.condition.ConditionalOnSingleCandidate","org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication","org.springframework.boot.autoconfigure.AutoConfigureBefore","org.springframework.boot.autoconfigure.AutoConfigureAfter","org.springframework.boot.autoconfigure.AutoConfigureOrder","org.springframework.boot.autoconfigure.AutoConfiguration"})
public class AutoConfigureAnnotationProcessor
extends AbstractProcessor
Annotation processor to store certain annotations from auto-configuration classes in a
property file.
- Since:
- 1.5.0
- Author:
- Madhura Bhave, Phillip Webb, Moritz Halbritter
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.springframework.boot.autoconfigureprocessor.AutoConfigureAnnotationProcessor.PropertyGenerator>
boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Field Details
-
PROPERTIES_PATH
- See Also:
-
-
Constructor Details
-
AutoConfigureAnnotationProcessor
public AutoConfigureAnnotationProcessor()
-
-
Method Details
-
getPropertyGenerators
protected List<org.springframework.boot.autoconfigureprocessor.AutoConfigureAnnotationProcessor.PropertyGenerator> getPropertyGenerators() -
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-