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

createBindTarget() — spring-boot Function Reference

Architecture documentation for the createBindTarget() function in ConfigurationPropertiesBean.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 2

Entity Profile

Dependency Diagram

graph TD
  50756854_6b8e_e333_adca_770ea18b2f28["createBindTarget()"]
  5fe9e097_d243_2cad_d20c_db584a0f1a0a["get()"]
  5fe9e097_d243_2cad_d20c_db584a0f1a0a -->|calls| 50756854_6b8e_e333_adca_770ea18b2f28
  3fa2e59a_bbf9_23ae_acb1_9383b54a3942["forValueObject()"]
  3fa2e59a_bbf9_23ae_acb1_9383b54a3942 -->|calls| 50756854_6b8e_e333_adca_770ea18b2f28
  6848a3de_ee84_baed_d31a_8820dc89fd28["findAnnotations()"]
  50756854_6b8e_e333_adca_770ea18b2f28 -->|calls| 6848a3de_ee84_baed_d31a_8820dc89fd28
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  50756854_6b8e_e333_adca_770ea18b2f28 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  788057fb_9ef5_c80e_dc50_fdb65d929fb2["withAnnotations()"]
  50756854_6b8e_e333_adca_770ea18b2f28 -->|calls| 788057fb_9ef5_c80e_dc50_fdb65d929fb2
  style 50756854_6b8e_e333_adca_770ea18b2f28 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBean.java lines 249–255

	private static @Nullable Bindable<Object> createBindTarget(@Nullable Object bean, Class<?> beanType,
			@Nullable Method factoryMethod) {
		ResolvableType type = (factoryMethod != null) ? ResolvableType.forMethodReturnType(factoryMethod)
				: ResolvableType.forClass(beanType);
		Annotation[] annotations = findAnnotations(bean, beanType, factoryMethod);
		return (annotations != null) ? Bindable.of(type).withAnnotations(annotations) : null;
	}

Domain

Subdomains

Calls

  • findAnnotations()
  • of()
  • withAnnotations()

Frequently Asked Questions

What does createBindTarget() do?
createBindTarget() is a function in the spring-boot codebase.
What does createBindTarget() call?
createBindTarget() calls 3 function(s): findAnnotations, of, withAnnotations.
What calls createBindTarget()?
createBindTarget() is called by 2 function(s): forValueObject, get.

Analyze Your Own Codebase

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

Try Supermodel Free