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

deprecatedMethodConfig() — spring-boot Function Reference

Architecture documentation for the deprecatedMethodConfig() function in MethodBasedMetadataGenerationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  121db886_26ec_7959_ddc4_ba5c5e51a919["deprecatedMethodConfig()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  121db886_26ec_7959_ddc4_ba5c5e51a919 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  121db886_26ec_7959_ddc4_ba5c5e51a919 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  121db886_26ec_7959_ddc4_ba5c5e51a919 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"]
  121db886_26ec_7959_ddc4_ba5c5e51a919 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  121db886_26ec_7959_ddc4_ba5c5e51a919 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  style 121db886_26ec_7959_ddc4_ba5c5e51a919 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MethodBasedMetadataGenerationTests.java lines 110–122

	@Test
	void deprecatedMethodConfig() {
		Class<DeprecatedMethodConfig> type = DeprecatedMethodConfig.class;
		ConfigurationMetadata metadata = compile(type);
		assertThat(metadata).has(Metadata.withGroup("foo").fromSource(type));
		assertThat(metadata).has(Metadata.withProperty("foo.name", String.class)
			.fromSource(DeprecatedMethodConfig.Foo.class)
			.withDeprecation());
		assertThat(metadata).has(Metadata.withProperty("foo.flag", Boolean.class)
			.withDefaultValue(false)
			.fromSource(DeprecatedMethodConfig.Foo.class)
			.withDeprecation());
	}

Domain

Subdomains

Frequently Asked Questions

What does deprecatedMethodConfig() do?
deprecatedMethodConfig() is a function in the spring-boot codebase.
What does deprecatedMethodConfig() call?
deprecatedMethodConfig() calls 5 function(s): fromSource, withDefaultValue, withDeprecation, withGroup, withProperty.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free