addConditionPropertyGenerators() — spring-boot Function Reference
Architecture documentation for the addConditionPropertyGenerators() function in AutoConfigureAnnotationProcessor.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4["addConditionPropertyGenerators()"] 51bb2012_3710_d9ab_4e1a_a1c157916ca1["getPropertyGenerators()"] 51bb2012_3710_d9ab_4e1a_a1c157916ca1 -->|calls| 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4 30a5e51b_7963_b138_76b7_7aeb63fd7a7e["of()"] 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4 -->|calls| 30a5e51b_7963_b138_76b7_7aeb63fd7a7e 440bafc1_4f87_1df3_67b6_fa4b7679e910["withAnnotation()"] 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4 -->|calls| 440bafc1_4f87_1df3_67b6_fa4b7679e910 456255c2_4d7f_c537_97bc_0425954d7e11["OnClassConditionValueExtractor()"] 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4 -->|calls| 456255c2_4d7f_c537_97bc_0425954d7e11 style 2cdfb4b5_71e9_4b35_7f69_3b286611c7d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure-processor/src/main/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessor.java lines 84–94
private void addConditionPropertyGenerators(List<PropertyGenerator> generators) {
String annotationPackage = "org.springframework.boot.autoconfigure.condition";
generators.add(PropertyGenerator.of(annotationPackage, "ConditionalOnClass")
.withAnnotation(new OnClassConditionValueExtractor()));
generators.add(PropertyGenerator.of(annotationPackage, "ConditionalOnBean")
.withAnnotation(new OnBeanConditionValueExtractor()));
generators.add(PropertyGenerator.of(annotationPackage, "ConditionalOnSingleCandidate")
.withAnnotation(new OnBeanConditionValueExtractor()));
generators.add(PropertyGenerator.of(annotationPackage, "ConditionalOnWebApplication")
.withAnnotation(ValueExtractor.allFrom("type")));
}
Domain
Subdomains
Calls
- OnClassConditionValueExtractor()
- of()
- withAnnotation()
Called By
Source
Frequently Asked Questions
What does addConditionPropertyGenerators() do?
addConditionPropertyGenerators() is a function in the spring-boot codebase.
What does addConditionPropertyGenerators() call?
addConditionPropertyGenerators() calls 3 function(s): OnClassConditionValueExtractor, of, withAnnotation.
What calls addConditionPropertyGenerators()?
addConditionPropertyGenerators() is called by 1 function(s): getPropertyGenerators.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free