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

getCandidateConfigurations() — spring-boot Function Reference

Architecture documentation for the getCandidateConfigurations() function in ImportAutoConfigurationImportSelector.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  9b650894_dd3f_204d_12e2_d3b9e3ba9142["getCandidateConfigurations()"]
  1f45db50_34d7_26f8_1ea3_d9ccbfd0f703["determineImports()"]
  1f45db50_34d7_26f8_1ea3_d9ccbfd0f703 -->|calls| 9b650894_dd3f_204d_12e2_d3b9e3ba9142
  b44f24ed_bc81_0914_2d12_dd01d5e69c0e["getAnnotations()"]
  9b650894_dd3f_204d_12e2_d3b9e3ba9142 -->|calls| b44f24ed_bc81_0914_2d12_dd01d5e69c0e
  fed57310_276a_847e_d7c5_7b3ea767f51a["collectCandidateConfigurations()"]
  9b650894_dd3f_204d_12e2_d3b9e3ba9142 -->|calls| fed57310_276a_847e_d7c5_7b3ea767f51a
  style 9b650894_dd3f_204d_12e2_d3b9e3ba9142 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/ImportAutoConfigurationImportSelector.java lines 80–88

	@Override
	protected List<String> getCandidateConfigurations(AnnotationMetadata metadata,
			@Nullable AnnotationAttributes attributes) {
		List<String> candidates = new ArrayList<>();
		Map<Class<?>, List<Annotation>> annotations = getAnnotations(metadata);
		annotations.forEach(
				(source, sourceAnnotations) -> collectCandidateConfigurations(source, sourceAnnotations, candidates));
		return candidates;
	}

Domain

Subdomains

Calls

Called By

  • determineImports()

Frequently Asked Questions

What does getCandidateConfigurations() do?
getCandidateConfigurations() is a function in the spring-boot codebase.
What does getCandidateConfigurations() call?
getCandidateConfigurations() calls 2 function(s): collectCandidateConfigurations, getAnnotations.
What calls getCandidateConfigurations()?
getCandidateConfigurations() is called by 1 function(s): determineImports.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free