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

innerClassPropertiesHierarchical() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  337f7efe_1fe5_4da8_818a_9f209756d038["innerClassPropertiesHierarchical()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  337f7efe_1fe5_4da8_818a_9f209756d038 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  337f7efe_1fe5_4da8_818a_9f209756d038 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  70751124_3e92_ed3e_7f93_61d2e98490d3["ofType()"]
  337f7efe_1fe5_4da8_818a_9f209756d038 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  337f7efe_1fe5_4da8_818a_9f209756d038 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  style 337f7efe_1fe5_4da8_818a_9f209756d038 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 403–413

	@Test
	void innerClassPropertiesHierarchical() {
		ConfigurationMetadata metadata = compile(InnerClassHierarchicalProperties.class);
		assertThat(metadata).has(Metadata.withGroup("config.foo").ofType(InnerClassHierarchicalProperties.Foo.class));
		assertThat(metadata)
			.has(Metadata.withGroup("config.foo.bar").ofType(InnerClassHierarchicalProperties.Bar.class));
		assertThat(metadata)
			.has(Metadata.withGroup("config.foo.bar.baz").ofType(InnerClassHierarchicalProperties.Foo.Baz.class));
		assertThat(metadata).has(Metadata.withProperty("config.foo.bar.baz.blah"));
		assertThat(metadata).has(Metadata.withProperty("config.foo.bar.bling"));
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free