getValue() — spring-boot Function Reference
Architecture documentation for the getValue() function in JavaBeanBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574["getValue()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58["bind()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 5e90a436_d3d0_08f8_af04_60a8e96f2818["getSupplier()"] 5e90a436_d3d0_08f8_af04_60a8e96f2818 -->|calls| 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 7c9243c3_087f_8f36_f31b_4fafbe79db95["get()"] 7c9243c3_087f_8f36_f31b_4fafbe79db95 -->|calls| 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 d990180a_4c17_eeb4_3f9f_ea1f9bd1181a["isUninitializedKotlinProperty()"] 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 -->|calls| d990180a_4c17_eeb4_3f9f_ea1f9bd1181a 6a72022e_f2f8_697c_c37b_c8e77e103247["get()"] 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 -->|calls| 6a72022e_f2f8_697c_c37b_c8e77e103247 style 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/JavaBeanBinder.java lines 420–437
@Nullable Supplier<Object> getValue(Supplier<?> instance) {
if (this.getter == null) {
return null;
}
return () -> {
Assert.state(this.getter != null, "'getter' must not be null");
try {
this.getter.setAccessible(true);
return this.getter.invoke(instance.get());
}
catch (Exception ex) {
if (isUninitializedKotlinProperty(ex)) {
return null;
}
throw new IllegalStateException("Unable to get value for property " + this.name, ex);
}
};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getValue() do?
getValue() is a function in the spring-boot codebase.
What does getValue() call?
getValue() calls 2 function(s): get, isUninitializedKotlinProperty.
What calls getValue()?
getValue() is called by 3 function(s): bind, get, getSupplier.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free