withDefaultValue() — spring-boot Function Reference
Architecture documentation for the withDefaultValue() function in Metadata.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] 488bf290_a240_a910_efae_c97e099cd875["simpleProperties()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 a1d71b98_bb92_43d3_61f5_4de1d5a4ab79["simpleTypeProperties()"] a1d71b98_bb92_43d3_61f5_4de1d5a4ab79 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 5d561345_59cd_5963_5a98_c172ade9e90f["hierarchicalProperties()"] 5d561345_59cd_5963_5a98_c172ade9e90f -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 00f63610_eb6f_e9d9_65fc_2a15abca44c6["enumValues()"] 00f63610_eb6f_e9d9_65fc_2a15abca44c6 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 a4438679_6d8d_9137_cff6_e0873f00d5a0["deprecatedOnUnrelatedSetter()"] a4438679_6d8d_9137_cff6_e0873f00d5a0 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 768a9f19_e7c1_363c_771b_7a649c725426["deprecatedWithLessPreciseType()"] 768a9f19_e7c1_363c_771b_7a649c725426 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 e43461d9_9f87_328c_2b62_aae3a9b1d9de["typBoxing()"] e43461d9_9f87_328c_2b62_aae3a9b1d9de -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 4c0031de_8a63_5824_2e93_03bc7ce667af["staticAccessor()"] 4c0031de_8a63_5824_2e93_03bc7ce667af -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 c5e16e56_891b_73cc_ab11_1a6077884fb9["nestedClassChildProperties()"] c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 75c4a13b_8df2_f908_30c8_c8a792af638f["recordPropertiesWithDefaultValues()"] 75c4a13b_8df2_f908_30c8_c8a792af638f -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 6de074d2_27f0_69c8_6855_cf892694a2c4["javaBeansSourceIsMergedWithNestedConfigurationProperty()"] 6de074d2_27f0_69c8_6855_cf892694a2c4 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 b86af648_7736_68c3_c225_ad5d7e1259b4["lombokSourceIsMergedWithNestedConfigurationProperty()"] b86af648_7736_68c3_c225_ad5d7e1259b4 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 56c8dfbc_dac4_96b6_a756_4fcc30fdeb9b["immutableSourceIsMergedWithNestedConfigurationProperty()"] 56c8dfbc_dac4_96b6_a756_4fcc30fdeb9b -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 12d87fb9_2cca_680d_d9d7_70c26d0af0ee["recordSourceIsMergedWithNestedConfigurationProperty()"] 12d87fb9_2cca_680d_d9d7_70c26d0af0ee -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 style 3a84f306_c04e_ed63_ecc7_7013edbb2681 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/metadata/Metadata.java lines 193–196
public MetadataItemCondition withDefaultValue(Object defaultValue) {
return new MetadataItemCondition(this.itemType, this.name, this.type, this.sourceType, this.sourceMethod,
this.description, defaultValue, this.deprecation);
}
Domain
Subdomains
Calls
Called By
- abstractPropertiesSource()
- assertSimpleLombokProperties()
- cacheTtl()
- constructorParameterNameAnnotationProperties()
- customPropertiesEndpoint()
- defaultAccess()
- deprecatedMethodConfig()
- deprecatedMethodConfigOnClass()
- deprecatedOnUnrelatedSetter()
- deprecatedWithLessPreciseType()
- enumValues()
- hierarchicalProperties()
- immutablePropertiesSource()
- immutableSimpleProperties()
- immutableSourceIsMergedWithNestedConfigurationProperty()
- incrementalBuild()
- incrementalBuildAnnotationRemoved()
- incrementalBuildTypeRenamed()
- javaBeanNameAnnotationProperties()
- javaBeansSourceIsMergedWithNestedConfigurationProperty()
- lombokNameAnnotationProperties()
- lombokPropertiesSource()
- lombokSourceIsMergedWithNestedConfigurationProperty()
- mergeExistingPropertyDefaultValue()
- mergingOfHintWithNonCanonicalName()
- mergingOfHintWithProvider()
- mergingOfSimpleHint()
- methodAndClassConfig()
- methodConfig()
- nestedClassChildProperties()
- nonRootConfigurationPropertiesSources()
- recordComponentNameAnnotationProperties()
- recordPropertiesSource()
- recordPropertiesWithDefaultValues()
- recordSourceIsMergedWithNestedConfigurationProperty()
- simpleGenericProperties()
- simpleProperties()
- simplePropertiesSource()
- simplePropertiesSourceWithAdditionalMetadataCanBeOverridden()
- simplePropertiesSourceWithAdditionalMetadataHintIsMerged()
- simplePropertiesSourceWithAdditionalMetadataIsMerged()
- simpleTypeProperties()
- singleConstructorMethodConfig()
- sourceFromParentClasIsDiscoveredForConcreteSource()
- sourceFromParentClasIsDiscoveredForConfigurationProperties()
- sourceIsMergedWithConfigurationProperties()
- staticAccessor()
- typBoxing()
- unresolvedGenericProperties()
Source
Frequently Asked Questions
What does withDefaultValue() do?
withDefaultValue() is a function in the spring-boot codebase.
What does withDefaultValue() call?
withDefaultValue() calls 1 function(s): MetadataItemCondition.
What calls withDefaultValue()?
withDefaultValue() is called by 49 function(s): abstractPropertiesSource, assertSimpleLombokProperties, cacheTtl, constructorParameterNameAnnotationProperties, customPropertiesEndpoint, defaultAccess, deprecatedMethodConfig, deprecatedMethodConfigOnClass, and 41 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free