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

handleProperty() — spring-boot Function Reference

Architecture documentation for the handleProperty() function in BindableRuntimeHintsRegistrar.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 4 called by 2

Entity Profile

Dependency Diagram

graph TD
  e6716c4c_547c_d7c8_961f_888363263411["handleProperty()"]
  e826e8f4_bf08_39c0_c961_fe5424b2e116["handleValueObjectProperties()"]
  e826e8f4_bf08_39c0_c961_fe5424b2e116 -->|calls| e6716c4c_547c_d7c8_961f_888363263411
  b4803f1e_7720_53cd_3c52_f11d9e1d4824["handleJavaBeanProperties()"]
  b4803f1e_7720_53cd_3c52_f11d9e1d4824 -->|calls| e6716c4c_547c_d7c8_961f_888363263411
  3da793e3_4d81_568d_4b78_6b30de9c4d4e["getComponentClass()"]
  e6716c4c_547c_d7c8_961f_888363263411 -->|calls| 3da793e3_4d81_568d_4b78_6b30de9c4d4e
  7006acfc_5cb5_8fcb_9fa2_043a1063b4c2["isJavaType()"]
  e6716c4c_547c_d7c8_961f_888363263411 -->|calls| 7006acfc_5cb5_8fcb_9fa2_043a1063b4c2
  c02b07ac_181c_fcee_ad95_9260914bc0e2["processNested()"]
  e6716c4c_547c_d7c8_961f_888363263411 -->|calls| c02b07ac_181c_fcee_ad95_9260914bc0e2
  21023e3b_95a7_ec1b_12be_d05d4483d1f6["isNestedType()"]
  e6716c4c_547c_d7c8_961f_888363263411 -->|calls| 21023e3b_95a7_ec1b_12be_d05d4483d1f6
  style e6716c4c_547c_d7c8_961f_888363263411 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindableRuntimeHintsRegistrar.java lines 245–263

		private void handleProperty(ReflectionHints hints, String propertyName, ResolvableType propertyType) {
			Class<?> propertyClass = propertyType.resolve();
			if (propertyClass == null) {
				return;
			}
			if (propertyClass.equals(this.type)) {
				return; // Prevent infinite recursion
			}
			Class<?> componentType = getComponentClass(propertyType);
			if (componentType != null) {
				// Can be a list of simple types
				if (!isJavaType(componentType)) {
					processNested(componentType, hints);
				}
			}
			else if (isNestedType(propertyName, propertyClass)) {
				processNested(propertyClass, hints);
			}
		}

Domain

Subdomains

Calls

Called By

  • handleJavaBeanProperties()
  • handleValueObjectProperties()

Frequently Asked Questions

What does handleProperty() do?
handleProperty() is a function in the spring-boot codebase.
What does handleProperty() call?
handleProperty() calls 4 function(s): getComponentClass, isJavaType, isNestedType, processNested.
What calls handleProperty()?
handleProperty() is called by 2 function(s): handleJavaBeanProperties, handleValueObjectProperties.

Analyze Your Own Codebase

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

Try Supermodel Free