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"})
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
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAnnotations
(Map<String, String> annotations) 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
-
addAnnotations
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-