of() — spring-boot Function Reference
Architecture documentation for the of() function in ConfigurationPropertyName.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 76576a77_87f7_3680_8561_2923813db3c1["of()"] 5569db8f_6c80_d42f_4db5_cf2f0fd0ebbd["of()"] 5569db8f_6c80_d42f_4db5_cf2f0fd0ebbd -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 95e80a07_1395_d714_760f_30137961bf1f["getNewDefaultValueInstanceIfPossible()"] 95e80a07_1395_d714_760f_30137961bf1f -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 00f41cf1_0484_bd76_f3b4_98b112e8fa76["bind()"] 00f41cf1_0484_bd76_f3b4_98b112e8fa76 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 a938b6ee_cc8b_5b40_5580_0c51cf3ea28b["isValid()"] a938b6ee_cc8b_5b40_5580_0c51cf3ea28b -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 780d5020_00c2_e483_ee08_a915f7ce792b["ofIfValid()"] 780d5020_00c2_e483_ee08_a915f7ce792b -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 fdc09f01_acd7_5005_d92e_95426cece9e1["throwIfPropertyFoundWhenSourceIsNullDoesNothing()"] fdc09f01_acd7_5005_d92e_95426cece9e1 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 15f370c0_fccc_3b86_a37c_ff815dc558fc["throwIfPropertyFoundWhenPropertyNotFoundDoesNothing()"] 15f370c0_fccc_3b86_a37c_ff815dc558fc -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 7216b221_5a04_5b85_3625_217ac0762973["throwIfPropertyFoundWhenPropertyFoundThrowsException()"] 7216b221_5a04_5b85_3625_217ac0762973 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 07ea3897_f846_78e5_69a0_2f8463226a39["bindWhenNameIsNullShouldThrowException()"] 07ea3897_f846_78e5_69a0_2f8463226a39 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 3c2ee7c1_10ae_00f1_67d9_aeb78ed0b9cf["bindWhenTargetIsNullShouldThrowException()"] 3c2ee7c1_10ae_00f1_67d9_aeb78ed0b9cf -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 ec33a733_5bd6_9733_5198_f13f4281657d["bindToValueWhenPropertyIsMissingShouldReturnUnbound()"] ec33a733_5bd6_9733_5198_f13f4281657d -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 aa7b5b77_6ede_4bed_173c_88e3aff0d435["bindToValueShouldReturnPropertyValue()"] aa7b5b77_6ede_4bed_173c_88e3aff0d435 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 ec2eab45_ecc4_5ddc_348b_79b98c4070ca["bindToValueShouldReturnPropertyValueFromSecondSource()"] ec2eab45_ecc4_5ddc_348b_79b98c4070ca -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 0b24412a_6c9e_1185_a8db_50386ffe85eb["bindToValueShouldReturnConvertedPropertyValue()"] 0b24412a_6c9e_1185_a8db_50386ffe85eb -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 style 76576a77_87f7_3680_8561_2923813db3c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 638–641
@SuppressWarnings("NullAway") // See https://github.com/uber/NullAway/issues/1232
public static ConfigurationPropertyName of(@Nullable CharSequence name) {
return of(name, false);
}
Domain
Subdomains
Called By
- Binder()
- DefaultValuesBindHandler()
- EntryBinder()
- bind()
- bind()
- bindIndexed()
- bindOrCreate()
- bindOrCreateWhenBindSuccessfulShouldReturnBoundValue()
- bindOrCreateWhenNotBoundShouldTriggerOnCreate()
- bindOrCreateWhenUnboundShouldReturnCreatedValue()
- bindOrCreateWithNestedShouldReturnCreatedValue()
- bindRenamedPropertyToClassBean()
- bindToAbstractClassWithShouldNotBind()
- bindToAnnotationNamedConstructorParameter()
- bindToAnnotationNamedRecordComponent()
- bindToArrayShouldBindCharArray()
- bindToArrayShouldReturnPrimitiveArray()
- bindToArrayShouldTriggerOnSuccess()
- bindToArrayShouldUsePropertyEditor()
- bindToArrayWhenCommaListAndIndexedShouldOnlyUseFirst()
- bindToArrayWhenCommaListShouldReturnPopulatedArray()
- bindToArrayWhenEmptyStringShouldReturnEmptyArray()
- bindToArrayWhenHasSpacesShouldTrim()
- bindToArrayWhenIndexedAndCommaListShouldOnlyUseFirst()
- bindToArrayWhenNestedListShouldReturnPopulatedArray()
- bindToArrayWhenNestedShouldReturnPopulatedArray()
- bindToArrayWhenStringShouldUsePropertyEditor()
- bindToBeanWithCycle()
- bindToBeanWithExceptionInGetterForExistingValue()
- bindToBeanWithUnresolvableGenerics()
- bindToClassShouldBindHierarchy()
- bindToClassShouldBindNested()
- bindToClassShouldBindNested()
- bindToClassShouldBindToCollection()
- bindToClassShouldBindToCollectionWithDelimiter()
- bindToClassShouldBindToList()
- bindToClassShouldBindToMap()
- bindToClassShouldBindToSet()
- bindToClassShouldBindWithGenerics()
- bindToClassShouldCacheWithGenerics()
- bindToClassShouldCreateBoundBean()
- bindToClassShouldCreateBoundBean()
- bindToClassShouldIgnoreInvalidAccessors()
- bindToClassShouldIgnoreStaticAccessors()
- bindToClassShouldLeaveDefaults()
- bindToClassShouldNotInvokeExtraMethods()
- bindToClassWhenHasNoPrefixShouldCreateBoundBean()
- bindToClassWhenHasNoPrefixShouldCreateBoundBean()
- bindToClassWhenHasNoSetterAndImmutableShouldThrowException()
- bindToClassWhenHasNoSetterShouldBindNested()
- bindToClassWhenHasNoSetterShouldBindToCollection()
- bindToClassWhenHasNoSetterShouldBindToList()
- bindToClassWhenHasNoSetterShouldBindToMap()
- bindToClassWhenHasNoSetterShouldBindToSet()
- bindToClassWhenHasPackagePrivateConstructorShouldBind()
- bindToClassWhenIterableShouldBindNestedBasedOnInstance()
- bindToClassWhenMismatchedGetSetShouldBind()
- bindToClassWhenNoDefaultConstructorShouldBind()
- bindToClassWhenNoParameterBoundShouldReturnNull()
- bindToClassWhenNotIterableShouldNotBindNestedBasedOnInstance()
- bindToClassWhenPropertiesMissingShouldReturnUnbound()
- bindToClassWhenPropertyCannotBeConvertedAndIgnoreErrorsShouldNotSetValue()
- bindToClassWhenPropertyCannotBeConvertedShouldThrowException()
- bindToClassWithMultipleConstructorsAndFilterShouldBind()
- bindToClassWithMultipleConstructorsShouldNotBind()
- bindToClassWithMultipleConstructorsWhenOnlyOneIsNotPrivateShouldBind()
- bindToClassWithNoValueAndDefaultValueShouldNotBind()
- bindToClassWithNoValueForPrimitiveShouldUseDefault()
- bindToClassWithOnlyDefaultConstructorShouldNotBind()
- bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField()
- bindToClassWithOverriddenPropertyShouldSetSubclassProperty()
- bindToClassWithSelfReferenceShouldBind()
- bindToCollectionShouldTriggerOnSuccess()
- bindToCustomMapWithoutCtorAndConverterShouldResolve()
- bindToExistingInstanceShouldLeaveDefaults()
- bindToInstanceShouldBindToInstance()
- bindToInstanceWhenNoDefaultConstructorShouldBind()
- bindToInstanceWhenNoNestedShouldLeaveNestedAsNull()
- bindToInstanceWithExistingValueShouldReturnUnbound()
- bindToInstanceWithNoPropertiesShouldReturnUnbound()
- bindToJavaBeanShouldReturnPopulatedBean()
- bindToJavaBeanShouldTriggerOnSuccess()
- bindToJavaBeanWhenHandlerOnStartReturnsNullShouldReturnUnbound()
- bindToJavaBeanWhenHasPropertyWithSameNameShouldStillBind()
- bindToJavaBeanWhenNonIterableShouldReturnPopulatedBean()
- bindToJavaBeanWithPublicConstructor()
- bindToJavaBeanWithPublicConstructorWhenHasBindRestriction()
- bindToListIfUnboundElementsPresentShouldThrowException()
- bindToMapShouldBindNestedMapValue()
- bindToMapShouldBindToMapValue()
- bindToMapShouldRespectMapType()
- bindToMapShouldTriggerOnSuccess()
- bindToMapStringArrayShouldTriggerOnSuccess()
- bindToMapWithWildcardShouldConvertToTheRightType()
- bindToPropertiesShouldBeEquivalentToMapOfStringString()
- bindToRecordWithDefaultValue()
- bindToValidatedBeanWithResourceAndNonEnumerablePropertySource()
- bindToValueShouldReturnConvertedPropertyValue()
- bindToValueShouldReturnPropertyValue()
- bindToValueShouldReturnPropertyValueFromSecondSource()
- bindToValueShouldTriggerOnSuccess()
- bindToValueWhenMultipleCandidatesShouldReturnFirst()
- bindToValueWhenPropertyIsMissingShouldReturnUnbound()
- bindToValueWithCustomPropertyEditorShouldReturnConvertedValue()
- bindToValueWithMissingPlaceholderShouldResolveToValueWithPlaceholder()
- bindToValueWithPlaceholdersShouldResolve()
- bindUsesConsistentPropertyOrder()
- bindWhenAllPropertiesBoundShouldClearConfigurationProperty()
- bindWhenArrayParameterWithEmptyDefaultValueShouldReturnEmptyInstance()
- bindWhenBeanWithGetIsMethodsFoundDoesNotUseIsGetter()
- bindWhenBeanWithGetSetIsMethodsFoundUsesGetterThatMatchesSetter()
- bindWhenBindingToPathTypeWithDefaultValue()
- bindWhenBindingToPathTypeWithValue()
- bindWhenCollectionParameterWithEmptyDefaultValueShouldReturnEmptyInstance()
- bindWhenEnumMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance()
- bindWhenEnumParameterWithEmptyDefaultValueShouldThrowException()
- bindWhenHasAnnotationsShouldChangeConvertedValue()
- bindWhenHasBridgeMethods()
- bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess()
- bindWhenHasMalformedDateShouldThrowException()
- bindWhenHasPackagePrivateSetterShouldBind()
- bindWhenJavaLangParameterWithEmptyDefaultValueShouldThrowException()
- bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance()
- bindWhenNameIsNullShouldThrowException()
- bindWhenNonExtractableParameterNamesOnPropertyAndNonIterablePropertySource()
- bindWhenOptionalParameterInNestedWithNoValueForPrimitiveShouldReturnEmptyInstance()
- bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance()
- bindWhenOptionalParameterWithNoValueForPrimitiveShouldReturnEmptyInstance()
- bindWhenParametersWithDefaultValueShouldReturnNonNullValues()
- bindWhenPrimitiveParameterWithEmptyDefaultValueShouldThrowException()
- bindWhenTargetIsNullShouldThrowException()
- bindWhenValueIsConvertedWithPropertyEditorShouldBind()
- bindWithAnnotations()
- bindWithAnnotations()
- bindWithAnnotationsAndDefaultValue()
- bindWithEmptyPrefixShouldIgnorePropertiesWithEmptyName()
- convertFieldError()
- createInvalidProfileSpecificPropertyContributor()
- createShouldReturnCreatedValue()
- createWhenNonExtractableParameterNamesOnPropertyAndNonIterablePropertySource()
- createWithDefaultValuesAndAnnotationsShouldReturnCreatedWithDefaultValues()
- createWithDefaultValuesShouldReturnCreatedWithDefaultValues()
- createWithNestedShouldReturnCreatedValue()
- getConfigurationPropertySourceReturnsAdaptedPropertySource()
- getImportsIgnoresEmptyElements()
- getImportsReturnsImports()
- getListBindable()
- getMapBindable()
- getNewDefaultValueInstanceIfPossible()
- isCandidateValidPropertyName()
- isOverriddenCollectionElement()
- isValid()
- loadShouldUseStringConverterBeanWhenValueIsCharSequence()
- matchesActiveProfiles()
- of()
- ofCreatesRootContributor()
- ofIfValid()
- runWhenHasDefaultPropertiesIncludesDefaultPropertiesLast()
- runWhenProfileActivatedViaSystemEnvironmentVariableWithPrefix()
- throwIfPropertyFoundWhenPropertyFoundThrowsException()
- throwIfPropertyFoundWhenPropertyNotFoundDoesNothing()
- throwIfPropertyFoundWhenSourceIsNullDoesNothing()
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): ConfigurationPropertyName, elementsOf.
What calls of()?
of() is called by 162 function(s): Binder, DefaultValuesBindHandler, EntryBinder, bind, bind, bindIndexed, bindOrCreate, bindOrCreateWhenBindSuccessfulShouldReturnBoundValue, and 154 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free