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

getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() — spring-boot Function Reference

Architecture documentation for the getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() function in ConfigurationPropertiesBeanTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  5e62f7d9_ded4_d359_23cb_92c233674fa4["getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType()"]
  ff3e8438_b713_1adf_e1a7_6196edfc5c12["get()"]
  5e62f7d9_ded4_d359_23cb_92c233674fa4 -->|calls| ff3e8438_b713_1adf_e1a7_6196edfc5c12
  f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"]
  5e62f7d9_ded4_d359_23cb_92c233674fa4 -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6
  72ef994e_68af_b04d_cc4a_3a4530618274["getBindMethod()"]
  5e62f7d9_ded4_d359_23cb_92c233674fa4 -->|calls| 72ef994e_68af_b04d_cc4a_3a4530618274
  style 5e62f7d9_ded4_d359_23cb_92c233674fa4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanTests.java lines 173–183

	@Test
	void getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() throws Throwable {
		get(AnnotatedGenericBeanConfiguration.class, "annotatedGenericBean", (propertiesBean) -> {
			assertThat(propertiesBean).isNotNull();
			assertThat(propertiesBean.getType()).isEqualTo(AnnotatedGenericBean.class);
			assertThat(propertiesBean.asBindTarget().getBindMethod()).isEqualTo(BindMethod.JAVA_BEAN);
			ResolvableType type = propertiesBean.asBindTarget().getType();
			assertThat(type.resolve()).isEqualTo(AnnotatedGenericBean.class);
			assertThat(type.resolveGeneric(0)).isEqualTo(String.class);
		});
	}

Domain

Subdomains

Frequently Asked Questions

What does getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() do?
getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() is a function in the spring-boot codebase.
What does getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() call?
getWhenHasFactoryMethodWithoutAnnotationBindsUsingMethodType() 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