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

resolveTypeWithOnlyGenerics() — spring-boot Function Reference

Architecture documentation for the resolveTypeWithOnlyGenerics() function in TypeUtilsTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  26d7537a_2aef_3f50_cc99_f8820ac91190["resolveTypeWithOnlyGenerics()"]
  0dc19896_5b12_17e5_d3d4_76862cac5380["process()"]
  26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| 0dc19896_5b12_17e5_d3d4_76862cac5380
  9beeab0e_d055_0068_1547_cf2f0af8dba5["getRootElement()"]
  26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5
  cd2ae2b4_a811_dc3d_06ba_cf5bdeaf54df["getTypeOfField()"]
  26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| cd2ae2b4_a811_dc3d_06ba_cf5bdeaf54df
  50aee7d8_3b2e_70e7_b6d1_34994961423e["getName()"]
  26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| 50aee7d8_3b2e_70e7_b6d1_34994961423e
  664c63ac_7529_fa53_23a9_e5f84570be7c["constructMapType()"]
  26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| 664c63ac_7529_fa53_23a9_e5f84570be7c
  style 26d7537a_2aef_3f50_cc99_f8820ac91190 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void resolveTypeWithOnlyGenerics() {
		process(AbstractGenericProperties.class, (roundEnv, typeUtils) -> {
			TypeElement typeElement = roundEnv.getRootElement(AbstractGenericProperties.class);
			assertThat(getTypeOfField(typeUtils, typeElement, "name")).hasToString(Object.class.getName());
			assertThat(getTypeOfField(typeUtils, typeElement, "mappings"))
				.hasToString(constructMapType(Object.class, Object.class));
		});
	}

Domain

Subdomains

Frequently Asked Questions

What does resolveTypeWithOnlyGenerics() do?
resolveTypeWithOnlyGenerics() is a function in the spring-boot codebase.
What does resolveTypeWithOnlyGenerics() call?
resolveTypeWithOnlyGenerics() calls 5 function(s): constructMapType, getName, getRootElement, getTypeOfField, process.

Analyze Your Own Codebase

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

Try Supermodel Free