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

getQualifiedName() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 3 called by 3

Entity Profile

Dependency Diagram

graph TD
  a7058b93_955c_3eb2_0b44_79f88433423c["getQualifiedName()"]
  d14a3110_dc6a_85bd_3b75_074431daedac["getQualifiedName()"]
  d14a3110_dc6a_85bd_3b75_074431daedac -->|calls| a7058b93_955c_3eb2_0b44_79f88433423c
  b80edf1d_56d0_c745_ef78_83ccc8cd88a3["determineQualifiedName()"]
  b80edf1d_56d0_c745_ef78_83ccc8cd88a3 -->|calls| a7058b93_955c_3eb2_0b44_79f88433423c
  02fe05ef_34c0_e980_2a84_e1ca9e0c94a0["visitPrimitive()"]
  02fe05ef_34c0_e980_2a84_e1ca9e0c94a0 -->|calls| a7058b93_955c_3eb2_0b44_79f88433423c
  d14a3110_dc6a_85bd_3b75_074431daedac["getQualifiedName()"]
  a7058b93_955c_3eb2_0b44_79f88433423c -->|calls| d14a3110_dc6a_85bd_3b75_074431daedac
  331b9b8c_2a5d_5ab7_6118_abaab8a02d03["getEnclosingTypeElement()"]
  a7058b93_955c_3eb2_0b44_79f88433423c -->|calls| 331b9b8c_2a5d_5ab7_6118_abaab8a02d03
  72b8e2e5_8024_2c27_43ec_48063cecdcab["asElement()"]
  a7058b93_955c_3eb2_0b44_79f88433423c -->|calls| 72b8e2e5_8024_2c27_43ec_48063cecdcab
  style a7058b93_955c_3eb2_0b44_79f88433423c 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 364–377

		String getQualifiedName(Element element) {
			if (element == null) {
				return null;
			}
			TypeElement enclosingElement = getEnclosingTypeElement(element.asType());
			if (enclosingElement != null) {
				return getQualifiedName(enclosingElement) + "$"
						+ ((DeclaredType) element.asType()).asElement().getSimpleName();
			}
			if (element instanceof TypeElement typeElement) {
				return typeElement.getQualifiedName().toString();
			}
			throw new IllegalStateException("Could not extract qualified name from " + element);
		}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free