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

determineType() — spring-boot Function Reference

Architecture documentation for the determineType() function in SpringBootJoranConfigurator.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  74ffd7a3_ab7a_6a1d_5556_23bbaa01ddf8["determineType()"]
  0f48f13a_e0e6_be39_3c75_c88ae12ffd86["reflectionTypes()"]
  0f48f13a_e0e6_be39_3c75_c88ae12ffd86 -->|calls| 74ffd7a3_ab7a_6a1d_5556_23bbaa01ddf8
  827621c3_8787_705a_bc95_49fc6ce140c5["loadImportType()"]
  74ffd7a3_ab7a_6a1d_5556_23bbaa01ddf8 -->|calls| 827621c3_8787_705a_bc95_49fc6ce140c5
  f63ba05c_26ca_55a4_308a_2a6e26a7a69a["inferTypeFromParent()"]
  74ffd7a3_ab7a_6a1d_5556_23bbaa01ddf8 -->|calls| f63ba05c_26ca_55a4_308a_2a6e26a7a69a
  style 74ffd7a3_ab7a_6a1d_5556_23bbaa01ddf8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringBootJoranConfigurator.java lines 254–269

		private @Nullable Class<?> determineType(Model model, Supplier<Object> parentSupplier) {
			String className = (model instanceof ComponentModel componentModel) ? componentModel.getClassName() : null;
			if (className != null) {
				return loadImportType(className);
			}
			String tag = model.getTag();
			if (tag != null) {
				className = this.modelInterpretationContext.getDefaultNestedComponentRegistry()
					.findDefaultComponentTypeByTag(tag);
				if (className != null) {
					return loadImportType(className);
				}
				return inferTypeFromParent(parentSupplier, tag);
			}
			return null;
		}

Domain

Subdomains

Calls

  • inferTypeFromParent()
  • loadImportType()

Called By

Frequently Asked Questions

What does determineType() do?
determineType() is a function in the spring-boot codebase.
What does determineType() call?
determineType() calls 2 function(s): inferTypeFromParent, loadImportType.
What calls determineType()?
determineType() is called by 1 function(s): reflectionTypes.

Analyze Your Own Codebase

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

Try Supermodel Free