isScalarValue() — spring-boot Function Reference
Architecture documentation for the isScalarValue() function in MapBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD eee31ea5_7e45_93de_d31a_312f42784041["isScalarValue()"] 3b891a71_3217_1514_ff70_c3b7071b73f4["getEntryName()"] 3b891a71_3217_1514_ff70_c3b7071b73f4 -->|calls| eee31ea5_7e45_93de_d31a_312f42784041 7437ce23_cb84_88cd_05ea_0748b72957a1["getName()"] eee31ea5_7e45_93de_d31a_312f42784041 -->|calls| 7437ce23_cb84_88cd_05ea_0748b72957a1 24826c4f_acf6_aa2a_3d90_87a20f29d219["getValue()"] eee31ea5_7e45_93de_d31a_312f42784041 -->|calls| 24826c4f_acf6_aa2a_3d90_87a20f29d219 style eee31ea5_7e45_93de_d31a_312f42784041 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java lines 221–233
private boolean isScalarValue(ConfigurationPropertySource source, ConfigurationPropertyName name) {
Class<?> resolved = this.valueType.resolve(Object.class);
if (!resolved.getName().startsWith("java.lang") && !resolved.isEnum()) {
return false;
}
ConfigurationProperty property = source.getConfigurationProperty(name);
if (property == null) {
return false;
}
Object value = property.getValue();
value = getContext().getPlaceholdersResolver().resolvePlaceholders(value);
return getContext().getConverter().canConvert(value, this.valueType);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does isScalarValue() do?
isScalarValue() is a function in the spring-boot codebase.
What does isScalarValue() call?
isScalarValue() calls 2 function(s): getName, getValue.
What calls isScalarValue()?
isScalarValue() is called by 1 function(s): getEntryName.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free