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

getParameterName() — spring-boot Function Reference

Architecture documentation for the getParameterName() function in ValueObjectBinder.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  52411bdd_1c90_7019_2262_4f3c87268be2["getParameterName()"]
  94235fe8_bed0_cb46_b2bd_d850d45e07f1["parseConstructorParameters()"]
  94235fe8_bed0_cb46_b2bd_d850d45e07f1 -->|calls| 52411bdd_1c90_7019_2262_4f3c87268be2
  3b2df73c_87d3_81a4_1e63_5163a6380984["getAnnotations()"]
  52411bdd_1c90_7019_2262_4f3c87268be2 -->|calls| 3b2df73c_87d3_81a4_1e63_5163a6380984
  a361aa8b_5b77_ab5b_7655_6e15818bda62["get()"]
  52411bdd_1c90_7019_2262_4f3c87268be2 -->|calls| a361aa8b_5b77_ab5b_7655_6e15818bda62
  style 52411bdd_1c90_7019_2262_4f3c87268be2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/ValueObjectBinder.java lines 293–298

		private @Nullable String getParameterName(KParameter parameter) {
			return MergedAnnotations.from(parameter, parameter.getAnnotations().toArray(ANNOTATION_ARRAY))
				.get(Name.class)
				.getValue(MergedAnnotation.VALUE, String.class)
				.orElseGet(parameter::getName);
		}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free