of() — spring-boot Function Reference
Architecture documentation for the of() function in Bindable.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] 7ba1e3a6_0304_52ae_113d_c2ef804cb6b8["getRunListeners()"] 7ba1e3a6_0304_52ae_113d_c2ef804cb6b8 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 f35cb859_7c45_aecd_4de9_9a93ed2da12f["getExceptionReporters()"] f35cb859_7c45_aecd_4de9_9a93ed2da12f -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 475b30ac_7116_06ea_7c5a_fd2832af28d4["getOrderSource()"] 475b30ac_7116_06ea_7c5a_fd2832af28d4 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 50756854_6b8e_e333_adca_770ea18b2f28["createBindTarget()"] 50756854_6b8e_e333_adca_770ea18b2f28 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 a2d46e2b_4d38_d2c7_76d4_70a4c9d68d73["processAheadOfTime()"] a2d46e2b_4d38_d2c7_76d4_70a4c9d68d73 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 07fcea4b_5661_f45e_0e67_f1d8670ddeba["validateWhenInvalidBoundStringThrowsException()"] 07fcea4b_5661_f45e_0e67_f1d8670ddeba -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 e294a24c_6d96_0324_b3ef_5dd73e5d55d8["validateWhenInvalidBoundCollectionThrowsException()"] e294a24c_6d96_0324_b3ef_5dd73e5d55d8 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 b3306371_eea4_594a_cff2_f0937a188868["validateWhenInvalidBoundCollectionFromIndexedThrowsException()"] b3306371_eea4_594a_cff2_f0937a188868 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 7c09a58a_9786_bd52_41ee_a8501d69077e["validateWhenInvalidBoundMapFromIndexedThrowsException()"] 7c09a58a_9786_bd52_41ee_a8501d69077e -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 5007137a_3acb_8115_7fa8_78762d3e5a90["validateWhenInvalidThrowsUsefulExceptionMessage()"] 5007137a_3acb_8115_7fa8_78762d3e5a90 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 239a519f_d7cd_f578_4f08_3876fe4c09f2["validateWhenInvalidStartCharacterThrowsUsefulExceptionMessage()"] 239a519f_d7cd_f578_4f08_3876fe4c09f2 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 90afa333_d2b9_f81e_3c26_c63852e99c6d["assertValid()"] 90afa333_d2b9_f81e_3c26_c63852e99c6d -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 2fb365e7_8bfd_5e63_ddb3_586722057fc2["assertInvalid()"] 2fb365e7_8bfd_5e63_ddb3_586722057fc2 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 65f6adff_8c74_5c59_c0ac_a04c94decfc6["manuallyRegisteredSingletonBindsAsJavaBean()"] 65f6adff_8c74_5c59_c0ac_a04c94decfc6 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 style 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Bindable.java lines 270–273
public static <T> Bindable<T> of(Class<T> type) {
Assert.notNull(type, "'type' must not be null");
return of(ResolvableType.forClass(type));
}
Domain
Subdomains
Calls
- box()
- of()
Called By
- ConfigDataEnvironmentContributors()
- assertInvalid()
- assertValid()
- bindShouldBindWithoutHandler()
- bindShouldFailIfExistingValueIsInvalid()
- bindShouldFailWithAccessToBoundProperties()
- bindShouldFailWithAccessToNameAndValue()
- bindShouldFailWithAccessToOrigin()
- bindShouldFailWithHandler()
- bindShouldNotValidateDepthGreaterThanZero()
- bindShouldNotValidateIfOtherHandlersInChainThrowError()
- bindShouldValidateIfOtherHandlersInChainIgnoreError()
- bindShouldValidateIfOtherHandlersInChainReplaceErrorWithResult()
- bindShouldValidateNestedProperties()
- bindShouldValidateWithoutAnnotation()
- bindToPackagePrivateClassShouldBindToInstance()
- bindWhenExceptionInNestedContextShouldFail()
- bindWhenExceptionNotIgnorableShouldFail()
- bindWhenHandlerNotPresentShouldFail()
- bindWhenIgnoringErrorsShouldBind()
- bindWhenNotIgnoringErrorsShouldFail()
- bindWhenNotUsingNoUnboundElementsHandlerShouldBind()
- bindWhenTopLevelContextAndExceptionIgnorableShouldNotFail()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundCollectionElementsWithInvalidPropertyShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundListElementsShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerShouldBind()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfPrefixDifferent()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundNestedCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundSystemProperties()
- bindWhenUsingNoUnboundElementsHandlerThrowException()
- constructorBindingConfigurationPropertiesBindAsValueObject()
- createBindTarget()
- getExceptionReporters()
- getOrderSource()
- getRunListeners()
- javaBeanConfigurationPropertiesBindAsJavaBean()
- listOf()
- loadWhenHasConfigLocationAsFile()
- loadWhenHasRelativeConfigLocationUsesFileLocation()
- manuallyRegisteredSingletonBindsAsJavaBean()
- mapOf()
- ofInstance()
- possibleConstructorBindingPropertiesDefinedThroughBeanMethodBindAsJavaBean()
- possibleConstructorBindingPropertiesDefinedThroughEnabledAnnotationBindAsValueObject()
- processAheadOfTime()
- runWhenCustomDefaultProfileSameAsActiveFromFileActivatesProfile()
- runWhenImportingIncludesParentOrigin()
- setOf()
- setup()
- validateMapValues()
- validateMapValuesWithNonUniformSource()
- validateWhenInvalidBoundCollectionFromIndexedThrowsException()
- validateWhenInvalidBoundCollectionThrowsException()
- validateWhenInvalidBoundMapFromIndexedThrowsException()
- validateWhenInvalidBoundStringThrowsException()
- validateWhenInvalidStartCharacterThrowsUsefulExceptionMessage()
- validateWhenInvalidThrowsUsefulExceptionMessage()
- validationErrorsForCamelCaseFieldsShouldContainRejectedValue()
- validationShouldBeSkippedIfPreviousValidationErrorPresent()
- withProcessedImports()
Source
Frequently Asked Questions
What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 2 function(s): box, of.
What calls of()?
of() is called by 61 function(s): ConfigDataEnvironmentContributors, assertInvalid, assertValid, bindShouldBindWithoutHandler, bindShouldFailIfExistingValueIsInvalid, bindShouldFailWithAccessToBoundProperties, bindShouldFailWithAccessToNameAndValue, bindShouldFailWithAccessToOrigin, and 53 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free