getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() — spring-boot Function Reference
Architecture documentation for the getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() function in ConfigurationPropertiesBeanTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 946cdfa6_2afd_e50d_563d_cf1092452bcb["getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean()"] 745849b1_99db_17cd_ef9f_94ae8c73966f["getWithoutBeanMetadataCaching()"] 946cdfa6_2afd_e50d_563d_cf1092452bcb -->|calls| 745849b1_99db_17cd_ef9f_94ae8c73966f f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"] 946cdfa6_2afd_e50d_563d_cf1092452bcb -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6 ce02f572_c486_43df_ae0a_9908cf5bb011["getAnnotation()"] 946cdfa6_2afd_e50d_563d_cf1092452bcb -->|calls| ce02f572_c486_43df_ae0a_9908cf5bb011 72ef994e_68af_b04d_cc4a_3a4530618274["getBindMethod()"] 946cdfa6_2afd_e50d_563d_cf1092452bcb -->|calls| 72ef994e_68af_b04d_cc4a_3a4530618274 style 946cdfa6_2afd_e50d_563d_cf1092452bcb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanTests.java lines 136–147
@Test
void getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() throws Throwable {
getWithoutBeanMetadataCaching(NonAnnotatedBeanImportConfiguration.class, "nonAnnotatedBean",
(propertiesBean) -> {
assertThat(propertiesBean).isNotNull();
assertThat(propertiesBean.getName()).isEqualTo("nonAnnotatedBean");
assertThat(propertiesBean.getInstance()).isInstanceOf(NonAnnotatedBean.class);
assertThat(propertiesBean.getType()).isEqualTo(NonAnnotatedBean.class);
assertThat(propertiesBean.getAnnotation().prefix()).isEqualTo("prefix");
assertThat(propertiesBean.asBindTarget().getBindMethod()).isEqualTo(BindMethod.JAVA_BEAN);
});
}
Domain
Subdomains
Calls
- getAnnotation()
- getBindMethod()
- getType()
- getWithoutBeanMetadataCaching()
Source
Frequently Asked Questions
What does getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() do?
getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() is a function in the spring-boot codebase.
What does getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() call?
getWhenImportedFactoryMethodIsAnnotatedAndMetadataCachingIsDisabledReturnsBean() calls 4 function(s): getAnnotation, getBindMethod, getType, getWithoutBeanMetadataCaching.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free