findValidValues() — spring-boot Function Reference
Architecture documentation for the findValidValues() function in BindFailureAnalyzer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3120aeb1_048c_cc67_6346_7c7fb29b8cf7["findValidValues()"] cd4f02f4_4a5b_2f58_3eec_087233a0b174["getFailureAnalysis()"] cd4f02f4_4a5b_2f58_3eec_087233a0b174 -->|calls| 3120aeb1_048c_cc67_6346_7c7fb29b8cf7 01bddb9a_8a21_d376_4852_540eba6ef8e8["findCause()"] 3120aeb1_048c_cc67_6346_7c7fb29b8cf7 -->|calls| 01bddb9a_8a21_d376_4852_540eba6ef8e8 f4b76c1c_abdc_fe17_d6c1_88412a0633e7["of()"] 3120aeb1_048c_cc67_6346_7c7fb29b8cf7 -->|calls| f4b76c1c_abdc_fe17_d6c1_88412a0633e7 style 3120aeb1_048c_cc67_6346_7c7fb29b8cf7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BindFailureAnalyzer.java lines 122–131
private Collection<String> findValidValues(BindException ex) {
ConversionFailedException conversionFailure = findCause(ex, ConversionFailedException.class);
if (conversionFailure != null) {
Object[] enumConstants = conversionFailure.getTargetType().getType().getEnumConstants();
if (enumConstants != null) {
return Stream.of(enumConstants).map(Object::toString).collect(Collectors.toCollection(TreeSet::new));
}
}
return Collections.emptySet();
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does findValidValues() do?
findValidValues() is a function in the spring-boot codebase.
What does findValidValues() call?
findValidValues() calls 2 function(s): findCause, of.
What calls findValidValues()?
findValidValues() is called by 1 function(s): getFailureAnalysis.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free