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

getPropertyName() — spring-boot Function Reference

Architecture documentation for the getPropertyName() function in PropertyDescriptorResolver.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c80dcaca_a36e_a48d_f1de_b2c11488903f["getPropertyName()"]
  f0e316c0_a7ba_498f_3fe7_b7e221f48dc4["extracted()"]
  f0e316c0_a7ba_498f_3fe7_b7e221f48dc4 -->|calls| c80dcaca_a36e_a48d_f1de_b2c11488903f
  5c1af899_0b26_ee7e_603f_cbfeac42fe14["resolveJavaBeanProperties()"]
  5c1af899_0b26_ee7e_603f_cbfeac42fe14 -->|calls| c80dcaca_a36e_a48d_f1de_b2c11488903f
  style c80dcaca_a36e_a48d_f1de_b2c11488903f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private String getPropertyName(VariableElement parameter, String fallback) {
		AnnotationMirror nameAnnotation = this.environment.getNameAnnotation(parameter);
		if (nameAnnotation != null) {
			return this.environment.getAnnotationElementStringValue(nameAnnotation, "value");
		}
		return fallback;
	}

Domain

Subdomains

Frequently Asked Questions

What does getPropertyName() do?
getPropertyName() is a function in the spring-boot codebase.
What calls getPropertyName()?
getPropertyName() is called by 2 function(s): extracted, resolveJavaBeanProperties.

Analyze Your Own Codebase

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

Try Supermodel Free