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

getEnclosingTypeElement() — spring-boot Function Reference

Architecture documentation for the getEnclosingTypeElement() function in TypeUtils.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  331b9b8c_2a5d_5ab7_6118_abaab8a02d03["getEnclosingTypeElement()"]
  da0dfc64_2f07_14a2_101c_ff827b795c85["visitDeclared()"]
  da0dfc64_2f07_14a2_101c_ff827b795c85 -->|calls| 331b9b8c_2a5d_5ab7_6118_abaab8a02d03
  a7058b93_955c_3eb2_0b44_79f88433423c["getQualifiedName()"]
  a7058b93_955c_3eb2_0b44_79f88433423c -->|calls| 331b9b8c_2a5d_5ab7_6118_abaab8a02d03
  72b8e2e5_8024_2c27_43ec_48063cecdcab["asElement()"]
  331b9b8c_2a5d_5ab7_6118_abaab8a02d03 -->|calls| 72b8e2e5_8024_2c27_43ec_48063cecdcab
  style 331b9b8c_2a5d_5ab7_6118_abaab8a02d03 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java lines 379–387

		private TypeElement getEnclosingTypeElement(TypeMirror type) {
			if (type instanceof DeclaredType declaredType) {
				Element enclosingElement = declaredType.asElement().getEnclosingElement();
				if (enclosingElement instanceof TypeElement typeElement) {
					return typeElement;
				}
			}
			return null;
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getEnclosingTypeElement() do?
getEnclosingTypeElement() is a function in the spring-boot codebase.
What does getEnclosingTypeElement() call?
getEnclosingTypeElement() calls 1 function(s): asElement.
What calls getEnclosingTypeElement()?
getEnclosingTypeElement() is called by 2 function(s): getQualifiedName, visitDeclared.

Analyze Your Own Codebase

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

Try Supermodel Free