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

findProperty() — spring-boot Function Reference

Architecture documentation for the findProperty() function in Binder.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  ab1f10f2_4493_a842_c36e_0f4d327642e3["findProperty()"]
  b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4["bindObject()"]
  b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| ab1f10f2_4493_a842_c36e_0f4d327642e3
  723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"]
  ab1f10f2_4493_a842_c36e_0f4d327642e3 -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17
  0b83b192_3d87_a5c9_0a8f_2f1a0e41d0fc["getSources()"]
  ab1f10f2_4493_a842_c36e_0f4d327642e3 -->|calls| 0b83b192_3d87_a5c9_0a8f_2f1a0e41d0fc
  727f7c3e_b925_fb14_e78e_4c2d4a79cefe["getConfigurationProperty()"]
  ab1f10f2_4493_a842_c36e_0f4d327642e3 -->|calls| 727f7c3e_b925_fb14_e78e_4c2d4a79cefe
  style ab1f10f2_4493_a842_c36e_0f4d327642e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java lines 473–485

	private <T> @Nullable ConfigurationProperty findProperty(ConfigurationPropertyName name, Bindable<T> target,
			Context context) {
		if (name.isEmpty() || target.hasBindRestriction(BindRestriction.NO_DIRECT_PROPERTY)) {
			return null;
		}
		for (ConfigurationPropertySource source : context.getSources()) {
			ConfigurationProperty property = source.getConfigurationProperty(name);
			if (property != null) {
				return property;
			}
		}
		return null;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does findProperty() do?
findProperty() is a function in the spring-boot codebase.
What does findProperty() call?
findProperty() calls 3 function(s): getConfigurationProperty, getSources, isEmpty.
What calls findProperty()?
findProperty() is called by 1 function(s): bindObject.

Analyze Your Own Codebase

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

Try Supermodel Free