Home / Function/ deprecatedProperties() — spring-boot Function Reference

deprecatedProperties() — spring-boot Function Reference

Architecture documentation for the deprecatedProperties() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd["deprecatedProperties()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"]
  6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528
  style 6e6f469f_2884_f6f3_34a5_8e0e64f3f4dd 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 242–252

	@Test
	@SuppressWarnings("deprecation")
	void deprecatedProperties() {
		Class<?> type = org.springframework.boot.configurationsample.simple.DeprecatedProperties.class;
		ConfigurationMetadata metadata = compile(type);
		assertThat(metadata).has(Metadata.withGroup("deprecated").fromSource(type));
		assertThat(metadata)
			.has(Metadata.withProperty("deprecated.name", String.class).fromSource(type).withDeprecation());
		assertThat(metadata)
			.has(Metadata.withProperty("deprecated.description", String.class).fromSource(type).withDeprecation());
	}

Domain

Subdomains

Frequently Asked Questions

What does deprecatedProperties() do?
deprecatedProperties() is a function in the spring-boot codebase.
What does deprecatedProperties() call?
deprecatedProperties() 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