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

handleConstructor() — spring-boot Function Reference

Architecture documentation for the handleConstructor() function in BindableRuntimeHintsRegistrar.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  702c1dc5_0340_7ef4_515c_2abee6a73dc0["handleConstructor()"]
  1e25f57f_0aed_45fb_a807_4538f113217d["handleConstructor()"]
  1e25f57f_0aed_45fb_a807_4538f113217d -->|calls| 702c1dc5_0340_7ef4_515c_2abee6a73dc0
  ef33b636_ab36_ccea_fc8f_8e514b8bd6eb["process()"]
  ef33b636_ab36_ccea_fc8f_8e514b8bd6eb -->|calls| 702c1dc5_0340_7ef4_515c_2abee6a73dc0
  1e25f57f_0aed_45fb_a807_4538f113217d["handleConstructor()"]
  702c1dc5_0340_7ef4_515c_2abee6a73dc0 -->|calls| 1e25f57f_0aed_45fb_a807_4538f113217d
  style 702c1dc5_0340_7ef4_515c_2abee6a73dc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindableRuntimeHintsRegistrar.java lines 197–211

		private void handleConstructor(ReflectionHints hints) {
			if (this.bindConstructor != null) {
				if (KotlinDetector.isKotlinType(this.bindConstructor.getDeclaringClass())) {
					KotlinDelegate.handleConstructor(hints, this.bindConstructor);
				}
				else {
					hints.registerConstructor(this.bindConstructor, ExecutableMode.INVOKE);
				}
				return;
			}
			Arrays.stream(this.type.getDeclaredConstructors())
				.filter(this::hasNoParameters)
				.findFirst()
				.ifPresent((constructor) -> hints.registerConstructor(constructor, ExecutableMode.INVOKE));
		}

Domain

Subdomains

Calls

  • handleConstructor()

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free