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

getWhenHasNoFactoryMethodBindsUsingObjectType() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

	@Test
	void getWhenHasNoFactoryMethodBindsUsingObjectType() throws Throwable {
		get(AnnotatedGenericComponent.class, "annotatedGenericComponent", (propertiesBean) -> {
			assertThat(propertiesBean).isNotNull();
			assertThat(propertiesBean.getType()).isEqualTo(AnnotatedGenericComponent.class);
			assertThat(propertiesBean.asBindTarget().getBindMethod()).isEqualTo(BindMethod.JAVA_BEAN);
			ResolvableType type = propertiesBean.asBindTarget().getType();
			assertThat(type.resolve()).isEqualTo(AnnotatedGenericComponent.class);
			assertThat(type.getGeneric(0).resolve()).isNull();
		});
	}

Domain

Subdomains

Frequently Asked Questions

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