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

process() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  8d355d52_ce5b_d696_0e1a_23d53124d9ec["process()"]
  2529ad1f_a79c_ccde_8e57_68c5c84bda8c["createTypeDescriptor()"]
  2529ad1f_a79c_ccde_8e57_68c5c84bda8c -->|calls| 8d355d52_ce5b_d696_0e1a_23d53124d9ec
  72b8e2e5_8024_2c27_43ec_48063cecdcab["asElement()"]
  8d355d52_ce5b_d696_0e1a_23d53124d9ec -->|calls| 72b8e2e5_8024_2c27_43ec_48063cecdcab
  f1ee03e0_0b66_f0bc_e3d7_119d4d76668b["registerIfNecessary()"]
  8d355d52_ce5b_d696_0e1a_23d53124d9ec -->|calls| f1ee03e0_0b66_f0bc_e3d7_119d4d76668b
  style 8d355d52_ce5b_d696_0e1a_23d53124d9ec 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 235–250

	private void process(TypeDescriptor descriptor, TypeMirror type) {
		if (type.getKind() == TypeKind.DECLARED) {
			DeclaredType declaredType = (DeclaredType) type;
			DeclaredType freshType = (DeclaredType) this.env.getElementUtils()
				.getTypeElement(this.types.asElement(type).toString())
				.asType();
			List<? extends TypeMirror> arguments = declaredType.getTypeArguments();
			for (int i = 0; i < arguments.size(); i++) {
				TypeMirror specificType = arguments.get(i);
				TypeMirror signatureType = freshType.getTypeArguments().get(i);
				descriptor.registerIfNecessary(signatureType, specificType);
			}
			TypeElement element = (TypeElement) this.types.asElement(type);
			process(descriptor, element.getSuperclass());
		}
	}

Domain

Subdomains

Calls

Called By

  • createTypeDescriptor()

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free