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

getValidationTarget() — spring-boot Function Reference

Architecture documentation for the getValidationTarget() function in ValidationBindHandler.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  011061aa_4c8e_1392_dbf8_d2ff5f73ef57["getValidationTarget()"]
  fc150228_4e3d_2d1a_838d_e8d1164db258["validate()"]
  fc150228_4e3d_2d1a_838d_e8d1164db258 -->|calls| 011061aa_4c8e_1392_dbf8_d2ff5f73ef57
  d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"]
  011061aa_4c8e_1392_dbf8_d2ff5f73ef57 -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a
  365d2ef8_7fbf_f898_097b_be40ea9144af["getValue()"]
  011061aa_4c8e_1392_dbf8_d2ff5f73ef57 -->|calls| 365d2ef8_7fbf_f898_097b_be40ea9144af
  style 011061aa_4c8e_1392_dbf8_d2ff5f73ef57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandler.java lines 128–136

	private @Nullable Object getValidationTarget(Bindable<?> target, BindContext context, @Nullable Object result) {
		if (result != null) {
			return result;
		}
		if (context.getDepth() == 0 && target.getValue() != null) {
			return target.getValue().get();
		}
		return null;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getValidationTarget() do?
getValidationTarget() is a function in the spring-boot codebase.
What does getValidationTarget() call?
getValidationTarget() calls 2 function(s): get, getValue.
What calls getValidationTarget()?
getValidationTarget() is called by 1 function(s): validate.

Analyze Your Own Codebase

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

Try Supermodel Free