deprecatedPropertyOnRecord() — spring-boot Function Reference
Architecture documentation for the deprecatedPropertyOnRecord() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9760342b_da84_415a_eb31_90c3a2e3c571["deprecatedPropertyOnRecord()"] 4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"] 9760342b_da84_415a_eb31_90c3a2e3c571 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 9760342b_da84_415a_eb31_90c3a2e3c571 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 9760342b_da84_415a_eb31_90c3a2e3c571 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 9760342b_da84_415a_eb31_90c3a2e3c571 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 9760342b_da84_415a_eb31_90c3a2e3c571 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 style 9760342b_da84_415a_eb31_90c3a2e3c571 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java lines 298–310
@Test
void deprecatedPropertyOnRecord() {
Class<?> type = DeprecatedRecord.class;
ConfigurationMetadata metadata = compile(type);
assertThat(metadata).has(Metadata.withGroup("deprecated-record").fromSource(type));
assertThat(metadata).has(Metadata.withProperty("deprecated-record.alpha", String.class)
.fromSource(type)
.withDeprecation("some-reason", null, null));
assertThat(metadata).has(Metadata.withProperty("deprecated-record.bravo", String.class).fromSource(type));
assertThat(metadata).has(Metadata.withProperty("deprecated-record.named.charlie", String.class)
.fromSource(type)
.withDeprecation("another-reason", null, null));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does deprecatedPropertyOnRecord() do?
deprecatedPropertyOnRecord() is a function in the spring-boot codebase.
What does deprecatedPropertyOnRecord() call?
deprecatedPropertyOnRecord() calls 5 function(s): compile, fromSource, withDeprecation, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free