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

createPropertyDescriptor() — spring-boot Function Reference

Architecture documentation for the createPropertyDescriptor() function in ConfigurationPropertiesSourceResolver.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2a507fd2_a3ac_dca8_9698_42e280536c6b["createPropertyDescriptor()"]
  3ed4d996_8b28_bc25_338f_de92815454ed["toDashedCase()"]
  2a507fd2_a3ac_dca8_9698_42e280536c6b -->|calls| 3ed4d996_8b28_bc25_338f_de92815454ed
  f8fcf9b3_183f_8e47_a688_da7bee7e7458["SourcePropertyDescriptor()"]
  2a507fd2_a3ac_dca8_9698_42e280536c6b -->|calls| f8fcf9b3_183f_8e47_a688_da7bee7e7458
  style 2a507fd2_a3ac_dca8_9698_42e280536c6b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/ConfigurationPropertiesSourceResolver.java lines 106–114

		PropertyDescriptor createPropertyDescriptor(String name, PropertyDescriptor propertyDescriptor) {
			String key = ConventionUtils.toDashedCase(name);
			if (this.items.containsKey(key)) {
				ItemMetadata itemMetadata = this.items.get(key);
				ItemHint itemHint = this.hints.get(key);
				return new SourcePropertyDescriptor(propertyDescriptor, itemMetadata, itemHint);
			}
			return propertyDescriptor;
		}

Domain

Subdomains

Frequently Asked Questions

What does createPropertyDescriptor() do?
createPropertyDescriptor() is a function in the spring-boot codebase.
What does createPropertyDescriptor() call?
createPropertyDescriptor() calls 2 function(s): SourcePropertyDescriptor, toDashedCase.

Analyze Your Own Codebase

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

Try Supermodel Free