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

asSystemEnvironmentLegacyName() — spring-boot Function Reference

Architecture documentation for the asSystemEnvironmentLegacyName() function in ConfigurationPropertyName.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1d3b014c_e498_a01f_8121_d6615527e8f9["asSystemEnvironmentLegacyName()"]
  780d5020_00c2_e483_ee08_a915f7ce792b["ofIfValid()"]
  1d3b014c_e498_a01f_8121_d6615527e8f9 -->|calls| 780d5020_00c2_e483_ee08_a915f7ce792b
  53880a7e_9440_e65c_1748_ec0028e14c0e["buildSimpleToString()"]
  1d3b014c_e498_a01f_8121_d6615527e8f9 -->|calls| 53880a7e_9440_e65c_1748_ec0028e14c0e
  bc164715_9139_37ca_1cb7_07a5191210d7["getElement()"]
  1d3b014c_e498_a01f_8121_d6615527e8f9 -->|calls| bc164715_9139_37ca_1cb7_07a5191210d7
  style 1d3b014c_e498_a01f_8121_d6615527e8f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 540–548

	@Nullable ConfigurationPropertyName asSystemEnvironmentLegacyName() {
		ConfigurationPropertyName name = this.systemEnvironmentLegacyName;
		if (name == null) {
			name = ConfigurationPropertyName
				.ofIfValid(buildSimpleToString('.', (i) -> getElement(i, Form.DASHED).replace('-', '.')));
			this.systemEnvironmentLegacyName = (name != null) ? name : EMPTY;
		}
		return (name != EMPTY) ? name : null;
	}

Domain

Subdomains

Frequently Asked Questions

What does asSystemEnvironmentLegacyName() do?
asSystemEnvironmentLegacyName() is a function in the spring-boot codebase.
What does asSystemEnvironmentLegacyName() call?
asSystemEnvironmentLegacyName() calls 3 function(s): buildSimpleToString, getElement, ofIfValid.

Analyze Your Own Codebase

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

Try Supermodel Free