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

getDescriptors() — spring-boot Function Reference

Architecture documentation for the getDescriptors() function in InvalidConfigurationPropertyValueFailureAnalyzer.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  b062cb1c_feb4_4e16_1f6b_af8c2b04eef0["getDescriptors()"]
  d46c0de4_6f8b_b050_2454_a92b12e385b6["analyze()"]
  d46c0de4_6f8b_b050_2454_a92b12e385b6 -->|calls| b062cb1c_feb4_4e16_1f6b_af8c2b04eef0
  d1739152_2211_858b_a596_1f24244a2de0["getPropertySources()"]
  b062cb1c_feb4_4e16_1f6b_af8c2b04eef0 -->|calls| d1739152_2211_858b_a596_1f24244a2de0
  88f67dcd_57fc_08d7_7bed_7a684b422aac["get()"]
  b062cb1c_feb4_4e16_1f6b_af8c2b04eef0 -->|calls| 88f67dcd_57fc_08d7_7bed_7a684b422aac
  547704ce_397f_f6b0_ab9e_2232ea67f073["getOrigin()"]
  b062cb1c_feb4_4e16_1f6b_af8c2b04eef0 -->|calls| 547704ce_397f_f6b0_ab9e_2232ea67f073
  style b062cb1c_feb4_4e16_1f6b_af8c2b04eef0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/InvalidConfigurationPropertyValueFailureAnalyzer.java lines 67–73

	private List<Descriptor> getDescriptors(String propertyName) {
		Set<@Nullable Origin> seen = new HashSet<>();
		return getPropertySources().filter((source) -> source.containsProperty(propertyName))
			.map((source) -> Descriptor.get(source, propertyName))
			.filter((descriptor) -> seen.add(getOrigin(descriptor)))
			.toList();
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getDescriptors() do?
getDescriptors() is a function in the spring-boot codebase.
What does getDescriptors() call?
getDescriptors() calls 3 function(s): get, getOrigin, getPropertySources.
What calls getDescriptors()?
getDescriptors() is called by 1 function(s): analyze.

Analyze Your Own Codebase

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

Try Supermodel Free