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

singleDeprecatedProperty() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  60a5e643_a7e5_49db_2019_232477237b6d["singleDeprecatedProperty()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  60a5e643_a7e5_49db_2019_232477237b6d -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  60a5e643_a7e5_49db_2019_232477237b6d -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  60a5e643_a7e5_49db_2019_232477237b6d -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  60a5e643_a7e5_49db_2019_232477237b6d -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"]
  60a5e643_a7e5_49db_2019_232477237b6d -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528
  style 60a5e643_a7e5_49db_2019_232477237b6d 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 254–263

	@Test
	void singleDeprecatedProperty() {
		Class<?> type = DeprecatedSingleProperty.class;
		ConfigurationMetadata metadata = compile(type);
		assertThat(metadata).has(Metadata.withGroup("singledeprecated").fromSource(type));
		assertThat(metadata).has(Metadata.withProperty("singledeprecated.new-name", String.class).fromSource(type));
		assertThat(metadata).has(Metadata.withProperty("singledeprecated.name", String.class)
			.fromSource(type)
			.withDeprecation("renamed", "singledeprecated.new-name", "1.2.3"));
	}

Domain

Subdomains

Frequently Asked Questions

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