Home / Function/ addAutoConfigurePropertyGenerators() — spring-boot Function Reference

addAutoConfigurePropertyGenerators() — spring-boot Function Reference

Architecture documentation for the addAutoConfigurePropertyGenerators() function in AutoConfigureAnnotationProcessor.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  deaaedf9_8a49_8336_391d_50c4a65a4014["addAutoConfigurePropertyGenerators()"]
  51bb2012_3710_d9ab_4e1a_a1c157916ca1["getPropertyGenerators()"]
  51bb2012_3710_d9ab_4e1a_a1c157916ca1 -->|calls| deaaedf9_8a49_8336_391d_50c4a65a4014
  30a5e51b_7963_b138_76b7_7aeb63fd7a7e["of()"]
  deaaedf9_8a49_8336_391d_50c4a65a4014 -->|calls| 30a5e51b_7963_b138_76b7_7aeb63fd7a7e
  440bafc1_4f87_1df3_67b6_fa4b7679e910["withAnnotation()"]
  deaaedf9_8a49_8336_391d_50c4a65a4014 -->|calls| 440bafc1_4f87_1df3_67b6_fa4b7679e910
  style deaaedf9_8a49_8336_391d_50c4a65a4014 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 96–106

	private void addAutoConfigurePropertyGenerators(List<PropertyGenerator> generators) {
		String annotationPackage = "org.springframework.boot.autoconfigure";
		generators.add(PropertyGenerator.of(annotationPackage, "AutoConfigureBefore", true)
			.withAnnotation(ValueExtractor.allFrom("value", "name"))
			.withAnnotation("AutoConfiguration", ValueExtractor.allFrom("before", "beforeName")));
		generators.add(PropertyGenerator.of(annotationPackage, "AutoConfigureAfter", true)
			.withAnnotation(ValueExtractor.allFrom("value", "name"))
			.withAnnotation("AutoConfiguration", ValueExtractor.allFrom("after", "afterName")));
		generators.add(PropertyGenerator.of(annotationPackage, "AutoConfigureOrder")
			.withAnnotation(ValueExtractor.allFrom("value")));
	}

Domain

Subdomains

Frequently Asked Questions

What does addAutoConfigurePropertyGenerators() do?
addAutoConfigurePropertyGenerators() is a function in the spring-boot codebase.
What does addAutoConfigurePropertyGenerators() call?
addAutoConfigurePropertyGenerators() calls 2 function(s): of, withAnnotation.
What calls addAutoConfigurePropertyGenerators()?
addAutoConfigurePropertyGenerators() 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