getSelfValidator() — spring-boot Function Reference
Architecture documentation for the getSelfValidator() function in ConfigurationPropertiesBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 81c64a79_d283_a2fc_d63a_e59b235ec811["getSelfValidator()"] b29e4c8d_349d_569b_228d_d7bb880eb65b["getValidators()"] b29e4c8d_349d_569b_228d_d7bb880eb65b -->|calls| 81c64a79_d283_a2fc_d63a_e59b235ec811 365d2ef8_7fbf_f898_097b_be40ea9144af["getValue()"] 81c64a79_d283_a2fc_d63a_e59b235ec811 -->|calls| 365d2ef8_7fbf_f898_097b_be40ea9144af 0dbe3d10_03f3_bd3d_3055_9c1e27f282df["get()"] 81c64a79_d283_a2fc_d63a_e59b235ec811 -->|calls| 0dbe3d10_03f3_bd3d_3055_9c1e27f282df 9da9cd16_a928_e759_a8a1_f8d21d3789e0["SelfValidatingConstructorBoundBindableValidator()"] 81c64a79_d283_a2fc_d63a_e59b235ec811 -->|calls| 9da9cd16_a928_e759_a8a1_f8d21d3789e0 f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"] 81c64a79_d283_a2fc_d63a_e59b235ec811 -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6 style 81c64a79_d283_a2fc_d63a_e59b235ec811 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinder.java lines 169–179
private @Nullable Validator getSelfValidator(Bindable<?> target) {
if (target.getValue() != null) {
Object value = target.getValue().get();
return (value instanceof Validator validator) ? validator : null;
}
Class<?> type = target.getType().resolve();
if (type != null && Validator.class.isAssignableFrom(type)) {
return new SelfValidatingConstructorBoundBindableValidator(type);
}
return null;
}
Domain
Subdomains
Calls
- SelfValidatingConstructorBoundBindableValidator()
- get()
- getType()
- getValue()
Called By
Source
Frequently Asked Questions
What does getSelfValidator() do?
getSelfValidator() is a function in the spring-boot codebase.
What does getSelfValidator() call?
getSelfValidator() calls 4 function(s): SelfValidatingConstructorBoundBindableValidator, get, getType, getValue.
What calls getSelfValidator()?
getSelfValidator() is called by 1 function(s): getValidators.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free