getBindConstructor() — spring-boot Function Reference
Architecture documentation for the getBindConstructor() function in DefaultBindConstructorProvider.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ac8770f0_3b93_a424_c067_4a5dda410340["getBindConstructor()"] 513d0372_e091_f918_32b7_40ca2cbe89a1["getConstructors()"] ac8770f0_3b93_a424_c067_4a5dda410340 -->|calls| 513d0372_e091_f918_32b7_40ca2cbe89a1 cc43f1b3_e23c_e895_d368_b2994a14c059["getBind()"] ac8770f0_3b93_a424_c067_4a5dda410340 -->|calls| cc43f1b3_e23c_e895_d368_b2994a14c059 9443836c_2544_280c_c6b3_cd9f1bcb1911["isDeducedBindConstructor()"] ac8770f0_3b93_a424_c067_4a5dda410340 -->|calls| 9443836c_2544_280c_c6b3_cd9f1bcb1911 42d71910_f112_8c40_aeea_bf8a4299723e["isImmutableType()"] ac8770f0_3b93_a424_c067_4a5dda410340 -->|calls| 42d71910_f112_8c40_aeea_bf8a4299723e style ac8770f0_3b93_a424_c067_4a5dda410340 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultBindConstructorProvider.java lines 42–53
@Override
public @Nullable Constructor<?> getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding) {
Constructors constructors = Constructors.getConstructors(bindable.getType().resolve(),
isNestedConstructorBinding);
if (constructors.getBind() != null && constructors.isDeducedBindConstructor()
&& !constructors.isImmutableType()) {
if (bindable.getValue() != null && bindable.getValue().get() != null) {
return null;
}
}
return constructors.getBind();
}
Domain
Subdomains
Calls
- getBind()
- getConstructors()
- isDeducedBindConstructor()
- isImmutableType()
Source
Frequently Asked Questions
What does getBindConstructor() do?
getBindConstructor() is a function in the spring-boot codebase.
What does getBindConstructor() call?
getBindConstructor() calls 4 function(s): getBind, getConstructors, isDeducedBindConstructor, isImmutableType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free