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

getConfigurationPropertyNames() — spring-boot Function Reference

Architecture documentation for the getConfigurationPropertyNames() function in SpringIterableConfigurationPropertySource.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  63a5a4fd_333a_0078_219b_c0bdfc172d60["getConfigurationPropertyNames()"]
  cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc["getConfigurationPropertyNames()"]
  cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc -->|calls| 63a5a4fd_333a_0078_219b_c0bdfc172d60
  cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc["getConfigurationPropertyNames()"]
  63a5a4fd_333a_0078_219b_c0bdfc172d60 -->|calls| cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc
  c08472d1_0523_dcc9_5df2_017ca9268c5a["get()"]
  63a5a4fd_333a_0078_219b_c0bdfc172d60 -->|calls| c08472d1_0523_dcc9_5df2_017ca9268c5a
  style 63a5a4fd_333a_0078_219b_c0bdfc172d60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/SpringIterableConfigurationPropertySource.java lines 327–343

		@Nullable ConfigurationPropertyName[] getConfigurationPropertyNames(String[] propertyNames) {
			Data data = this.data;
			Assert.state(data != null, "'data' must not be null");
			@Nullable ConfigurationPropertyName[] names = data.configurationPropertyNames();
			if (names != null) {
				return names;
			}
			Map<String, ConfigurationPropertyName> reverseMappings = data.reverseMappings();
			if (reverseMappings == null || reverseMappings.isEmpty()) {
				return EMPTY_NAMES_ARRAY;
			}
			names = new ConfigurationPropertyName[propertyNames.length];
			for (int i = 0; i < propertyNames.length; i++) {
				names[i] = reverseMappings.get(propertyNames[i]);
			}
			return names;
		}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free