immutableSimpleProperties() — spring-boot Function Reference
Architecture documentation for the immutableSimpleProperties() function in ImmutablePropertiesMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4144d4d0_ebda_5b50_14b7_6301185a9181["immutableSimpleProperties()"] 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 4144d4d0_ebda_5b50_14b7_6301185a9181 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 4144d4d0_ebda_5b50_14b7_6301185a9181 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ImmutablePropertiesMetadataGenerationTests.java lines 34–50
@Test
void immutableSimpleProperties() {
ConfigurationMetadata metadata = compile(ImmutableSimpleProperties.class);
assertThat(metadata).has(Metadata.withGroup("immutable").fromSource(ImmutableSimpleProperties.class));
assertThat(metadata).has(Metadata.withProperty("immutable.the-name", String.class)
.fromSource(ImmutableSimpleProperties.class)
.withDescription("The name of this simple properties.")
.withDefaultValue("boot"));
assertThat(metadata).has(Metadata.withProperty("immutable.flag", Boolean.class)
.withDefaultValue(false)
.fromSource(ImmutableSimpleProperties.class)
.withDescription("A simple flag.")
.withDeprecation());
assertThat(metadata).has(Metadata.withProperty("immutable.comparator"));
assertThat(metadata).has(Metadata.withProperty("immutable.counter"));
assertThat(metadata.getItems()).hasSize(5);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does immutableSimpleProperties() do?
immutableSimpleProperties() is a function in the spring-boot codebase.
What does immutableSimpleProperties() call?
immutableSimpleProperties() calls 7 function(s): fromSource, getItems, withDefaultValue, withDeprecation, withDescription, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free