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

hasBindMethod() — spring-boot Function Reference

Architecture documentation for the hasBindMethod() function in EnableConfigurationPropertiesRegistrarTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  0fbd09fc_ab3e_6473_b318_0d78ad61f10f["hasBindMethod()"]
  3be562f0_08ad_b2c3_a571_459def375c0c["typeWithDefaultConstructorShouldRegisterRootBeanDefinition()"]
  3be562f0_08ad_b2c3_a571_459def375c0c -->|calls| 0fbd09fc_ab3e_6473_b318_0d78ad61f10f
  a0ff5f12_a5b8_98af_e5db_0ec9fb3eefd1["constructorBoundPropertiesShouldRegisterConfigurationPropertiesBeanDefinition()"]
  a0ff5f12_a5b8_98af_e5db_0ec9fb3eefd1 -->|calls| 0fbd09fc_ab3e_6473_b318_0d78ad61f10f
  30299c19_9056_a61b_7f2a_0eabb5fb22e4["typeWithMultipleConstructorsShouldRegisterGenericBeanDefinition()"]
  30299c19_9056_a61b_7f2a_0eabb5fb22e4 -->|calls| 0fbd09fc_ab3e_6473_b318_0d78ad61f10f
  style 0fbd09fc_ab3e_6473_b318_0d78ad61f10f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/EnableConfigurationPropertiesRegistrarTests.java lines 101–106

	private Consumer<BeanDefinition> hasBindMethod(BindMethod bindMethod) {
		return (definition) -> {
			assertThat(definition.hasAttribute(BindMethod.class.getName())).isTrue();
			assertThat(definition.getAttribute(BindMethod.class.getName())).isEqualTo(bindMethod);
		};
	}

Domain

Subdomains

Called By

  • constructorBoundPropertiesShouldRegisterConfigurationPropertiesBeanDefinition()
  • typeWithDefaultConstructorShouldRegisterRootBeanDefinition()
  • typeWithMultipleConstructorsShouldRegisterGenericBeanDefinition()

Frequently Asked Questions

What does hasBindMethod() do?
hasBindMethod() is a function in the spring-boot codebase.
What calls hasBindMethod()?
hasBindMethod() is called by 3 function(s): constructorBoundPropertiesShouldRegisterConfigurationPropertiesBeanDefinition, typeWithDefaultConstructorShouldRegisterRootBeanDefinition, typeWithMultipleConstructorsShouldRegisterGenericBeanDefinition.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free