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

sourceWithNonCanonicalMetadataIsDiscovered() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e420062a_3866_e9a6_49d2_23dacc602ab9["sourceWithNonCanonicalMetadataIsDiscovered()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  e420062a_3866_e9a6_49d2_23dacc602ab9 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  e420062a_3866_e9a6_49d2_23dacc602ab9 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  e420062a_3866_e9a6_49d2_23dacc602ab9 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"]
  e420062a_3866_e9a6_49d2_23dacc602ab9 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  e420062a_3866_e9a6_49d2_23dacc602ab9 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style e420062a_3866_e9a6_49d2_23dacc602ab9 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 727–735

		@Test
		void sourceWithNonCanonicalMetadataIsDiscovered() {
			ConfigurationMetadata metadata = compile(ConventionSourceAnnotated.class);
			assertThat(metadata).has(Metadata.withGroup("example.nested", ConventionSource.class))
				.has(Metadata.withProperty("example.nested.first-name", String.class).withDescription("Camel case."))
				.has(Metadata.withProperty("example.nested.last-name", String.class)
					.withDescription("Canonical format."));
			assertThat(metadata.getItems()).hasSize(4);
		}

Domain

Subdomains

Frequently Asked Questions

What does sourceWithNonCanonicalMetadataIsDiscovered() do?
sourceWithNonCanonicalMetadataIsDiscovered() is a function in the spring-boot codebase.
What does sourceWithNonCanonicalMetadataIsDiscovered() call?
sourceWithNonCanonicalMetadataIsDiscovered() calls 5 function(s): compile, getItems, withDescription, withGroup, withProperty.

Analyze Your Own Codebase

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

Try Supermodel Free