bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() — spring-boot Function Reference
Architecture documentation for the bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() function in BinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e349783f_320c_abac_a514_f3cbf92a0d8d["bindToJavaBeanWithPublicConstructorWhenHasBindRestriction()"] 76576a77_87f7_3680_8561_2923813db3c1["of()"] e349783f_320c_abac_a514_f3cbf92a0d8d -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 65d17320_52a3_60c1_42df_d4e2e6f4fe41["bindToJavaBeanWithPublicConstructor()"] e349783f_320c_abac_a514_f3cbf92a0d8d -->|calls| 65d17320_52a3_60c1_42df_d4e2e6f4fe41 44f9a833_55c3_3087_540c_65a04b97a268["getValue()"] e349783f_320c_abac_a514_f3cbf92a0d8d -->|calls| 44f9a833_55c3_3087_540c_65a04b97a268 style e349783f_320c_abac_a514_f3cbf92a0d8d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BinderTests.java lines 354–360
@Test
void bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() {
Bindable<JavaBeanWithPublicConstructor> bindable = Bindable.of(JavaBeanWithPublicConstructor.class)
.withBindRestrictions(BindRestriction.NO_DIRECT_PROPERTY);
JavaBeanWithPublicConstructor result = bindToJavaBeanWithPublicConstructor(bindable);
assertThat(result.getValue()).isEqualTo("setter");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() do?
bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() is a function in the spring-boot codebase.
What does bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() call?
bindToJavaBeanWithPublicConstructorWhenHasBindRestriction() calls 3 function(s): bindToJavaBeanWithPublicConstructor, getValue, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free