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

selectImports() — spring-boot Function Reference

Architecture documentation for the selectImports() function in AutoConfigurationImportSelector.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  cdf17a2a_3540_efaf_b3d2_825ee52a622d["selectImports()"]
  6d5ade2e_391d_9264_8e66_958584680743["selectImports()"]
  6d5ade2e_391d_9264_8e66_958584680743 -->|calls| cdf17a2a_3540_efaf_b3d2_825ee52a622d
  6d5ade2e_391d_9264_8e66_958584680743["selectImports()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d -->|calls| 6d5ade2e_391d_9264_8e66_958584680743
  a86ce8c5_4e82_b07b_e92c_8d19856ce16c["isEnabled()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d -->|calls| a86ce8c5_4e82_b07b_e92c_8d19856ce16c
  2b819520_cb0d_6d14_607c_2d5f769419bd["getAutoConfigurationEntry()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d -->|calls| 2b819520_cb0d_6d14_607c_2d5f769419bd
  7b747386_b071_29ff_0886_e32ff99b351d["getConfigurations()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d -->|calls| 7b747386_b071_29ff_0886_e32ff99b351d
  style cdf17a2a_3540_efaf_b3d2_825ee52a622d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelector.java lines 118–125

	@Override
	public String[] selectImports(AnnotationMetadata annotationMetadata) {
		if (!isEnabled(annotationMetadata)) {
			return NO_IMPORTS;
		}
		AutoConfigurationEntry autoConfigurationEntry = getAutoConfigurationEntry(annotationMetadata);
		return StringUtils.toStringArray(autoConfigurationEntry.getConfigurations());
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does selectImports() do?
selectImports() is a function in the spring-boot codebase.
What does selectImports() call?
selectImports() calls 4 function(s): getAutoConfigurationEntry, getConfigurations, isEnabled, selectImports.
What calls selectImports()?
selectImports() is called by 1 function(s): selectImports.

Analyze Your Own Codebase

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

Try Supermodel Free