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

unresolvedGenericProperties() — spring-boot Function Reference

Architecture documentation for the unresolvedGenericProperties() function in GenericsMetadataGenerationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b1dfeb94_f093_2016_a5e9_a13c458aea46["unresolvedGenericProperties()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  b1dfeb94_f093_2016_a5e9_a13c458aea46 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style b1dfeb94_f093_2016_a5e9_a13c458aea46 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/GenericsMetadataGenerationTests.java lines 70–84

	@Test
	void unresolvedGenericProperties() {
		ConfigurationMetadata metadata = compile(AbstractGenericProperties.class, UnresolvedGenericProperties.class);
		assertThat(metadata).has(Metadata.withGroup("generic").fromSource(UnresolvedGenericProperties.class));
		assertThat(metadata).has(Metadata.withProperty("generic.name", String.class)
			.fromSource(UnresolvedGenericProperties.class)
			.withDescription("Generic name.")
			.withDefaultValue(null));
		assertThat(metadata)
			.has(Metadata.withProperty("generic.mappings", "java.util.Map<java.lang.Number,java.lang.Object>")
				.fromSource(UnresolvedGenericProperties.class)
				.withDescription("Generic mappings.")
				.withDefaultValue(null));
		assertThat(metadata.getItems()).hasSize(3);
	}

Domain

Subdomains

Frequently Asked Questions

What does unresolvedGenericProperties() do?
unresolvedGenericProperties() is a function in the spring-boot codebase.
What does unresolvedGenericProperties() call?
unresolvedGenericProperties() calls 6 function(s): fromSource, getItems, withDefaultValue, withDescription, withGroup, withProperty.

Analyze Your Own Codebase

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

Try Supermodel Free