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

resolveTypeOnIntermediateClass() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8a825865_e411_1e4f_906c_a9fb0860e427["resolveTypeOnIntermediateClass()"]
  0dc19896_5b12_17e5_d3d4_76862cac5380["process()"]
  8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| 0dc19896_5b12_17e5_d3d4_76862cac5380
  9beeab0e_d055_0068_1547_cf2f0af8dba5["getRootElement()"]
  8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5
  cd2ae2b4_a811_dc3d_06ba_cf5bdeaf54df["getTypeOfField()"]
  8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| cd2ae2b4_a811_dc3d_06ba_cf5bdeaf54df
  50aee7d8_3b2e_70e7_b6d1_34994961423e["getName()"]
  8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| 50aee7d8_3b2e_70e7_b6d1_34994961423e
  664c63ac_7529_fa53_23a9_e5f84570be7c["constructMapType()"]
  8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| 664c63ac_7529_fa53_23a9_e5f84570be7c
  style 8a825865_e411_1e4f_906c_a9fb0860e427 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 60–68

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

Domain

Subdomains

Frequently Asked Questions

What does resolveTypeOnIntermediateClass() do?
resolveTypeOnIntermediateClass() is a function in the spring-boot codebase.
What does resolveTypeOnIntermediateClass() call?
resolveTypeOnIntermediateClass() 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