of() — spring-boot Function Reference
Architecture documentation for the of() function in MockOrigin.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d["of()"] 00f180ad_a551_c306_455d_df0e666fbb48["ofWhenFieldErrorIsNullShouldReturnNull()"] 00f180ad_a551_c306_455d_df0e666fbb48 -->|calls| 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d 0b859fb0_a436_7744_4120_0835a3314bd2["ofWhenOriginIsNullShouldReturnFieldErrorWithoutOrigin()"] 0b859fb0_a436_7744_4120_0835a3314bd2 -->|calls| 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d 800f5182_ae3b_2b4d_72a4_82a203fe901d["ofShouldReturnOriginCapableFieldError()"] 800f5182_ae3b_2b4d_72a4_82a203fe901d -->|calls| 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d 2eb75ab8_5c14_5b50_d3be_80dd77d29848["toStringShouldAddOrigin()"] 2eb75ab8_5c14_5b50_d3be_80dd77d29848 -->|calls| 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d fd7bad25_1f5a_abcf_a46e_ce89e6524d13["getErrorsShouldAdaptFieldErrorsToBeOriginProviders()"] fd7bad25_1f5a_abcf_a46e_ce89e6524d13 -->|calls| 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d 2e8be660_5d81_3c1c_3b85_0da953bf8881["MockOrigin()"] 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d -->|calls| 2e8be660_5d81_3c1c_3b85_0da953bf8881 style 73873e31_feef_8f4b_d56f_2cc9a1d3fa8d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/origin/MockOrigin.java lines 67–70
@Contract("!null -> !null")
public static @Nullable Origin of(@Nullable String value) {
return of(value, null);
}
Domain
Subdomains
Calls
Called By
- getErrorsShouldAdaptFieldErrorsToBeOriginProviders()
- ofShouldReturnOriginCapableFieldError()
- ofWhenFieldErrorIsNullShouldReturnNull()
- ofWhenOriginIsNullShouldReturnFieldErrorWithoutOrigin()
- toStringShouldAddOrigin()
Source
Frequently Asked Questions
What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 1 function(s): MockOrigin.
What calls of()?
of() is called by 5 function(s): getErrorsShouldAdaptFieldErrorsToBeOriginProviders, ofShouldReturnOriginCapableFieldError, ofWhenFieldErrorIsNullShouldReturnNull, ofWhenOriginIsNullShouldReturnFieldErrorWithoutOrigin, toStringShouldAddOrigin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free