getWhenHasFactoryMethodBindsUsingMethodReturnType() — spring-boot Function Reference
Architecture documentation for the getWhenHasFactoryMethodBindsUsingMethodReturnType() function in ConfigurationPropertiesBeanTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 027df210_f0d1_8520_9a57_eac4e9963d3a["getWhenHasFactoryMethodBindsUsingMethodReturnType()"] ff3e8438_b713_1adf_e1a7_6196edfc5c12["get()"] 027df210_f0d1_8520_9a57_eac4e9963d3a -->|calls| ff3e8438_b713_1adf_e1a7_6196edfc5c12 f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"] 027df210_f0d1_8520_9a57_eac4e9963d3a -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6 72ef994e_68af_b04d_cc4a_3a4530618274["getBindMethod()"] 027df210_f0d1_8520_9a57_eac4e9963d3a -->|calls| 72ef994e_68af_b04d_cc4a_3a4530618274 style 027df210_f0d1_8520_9a57_eac4e9963d3a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanTests.java lines 161–171
@Test
void getWhenHasFactoryMethodBindsUsingMethodReturnType() throws Throwable {
get(NonAnnotatedGenericBeanConfiguration.class, "nonAnnotatedGenericBean", (propertiesBean) -> {
assertThat(propertiesBean).isNotNull();
assertThat(propertiesBean.getType()).isEqualTo(NonAnnotatedGenericBean.class);
assertThat(propertiesBean.asBindTarget().getBindMethod()).isEqualTo(BindMethod.JAVA_BEAN);
ResolvableType type = propertiesBean.asBindTarget().getType();
assertThat(type.resolve()).isEqualTo(NonAnnotatedGenericBean.class);
assertThat(type.resolveGeneric(0)).isEqualTo(String.class);
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getWhenHasFactoryMethodBindsUsingMethodReturnType() do?
getWhenHasFactoryMethodBindsUsingMethodReturnType() is a function in the spring-boot codebase.
What does getWhenHasFactoryMethodBindsUsingMethodReturnType() call?
getWhenHasFactoryMethodBindsUsingMethodReturnType() calls 3 function(s): get, getBindMethod, getType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free