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

doubleRegistration() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0024d8ce_bc1e_9252_17b1_aa363b8230b4["doubleRegistration()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  0024d8ce_bc1e_9252_17b1_aa363b8230b4 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  0024d8ce_bc1e_9252_17b1_aa363b8230b4 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  0024d8ce_bc1e_9252_17b1_aa363b8230b4 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  0024d8ce_bc1e_9252_17b1_aa363b8230b4 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style 0024d8ce_bc1e_9252_17b1_aa363b8230b4 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 469–477

	@Test
	void doubleRegistration() {
		ConfigurationMetadata metadata = compile(DoubleRegistrationProperties.class);
		assertThat(metadata).has(Metadata.withGroup("one"));
		assertThat(metadata).has(Metadata.withGroup("two"));
		assertThat(metadata).has(Metadata.withProperty("one.value"));
		assertThat(metadata).has(Metadata.withProperty("two.value"));
		assertThat(metadata.getItems()).hasSize(4);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free