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

addProperties() — spring-boot Function Reference

Architecture documentation for the addProperties() function in JavaBeanBinder.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901["addProperties()"]
  daef5e4f_c8fd_e7e9_3756_aeac4cf0b77e["BeanProperties()"]
  daef5e4f_c8fd_e7e9_3756_aeac4cf0b77e -->|calls| 1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901
  27c68f3d_4a99_f60a_533b_3cb6bc076b9d["equals()"]
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 -->|calls| 27c68f3d_4a99_f60a_533b_3cb6bc076b9d
  183aed32_5e61_bc24_9bd3_ec3585465978["getSorted()"]
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 -->|calls| 183aed32_5e61_bc24_9bd3_ec3585465978
  a169668d_cd01_d9d4_0daf_7332fc1be967["isCandidate()"]
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 -->|calls| a169668d_cd01_d9d4_0daf_7332fc1be967
  6d9c31a1_bf4c_3353_08a4_9693c54088cf["addMethodIfPossible()"]
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 -->|calls| 6d9c31a1_bf4c_3353_08a4_9693c54088cf
  adba42ff_48cb_76c7_a8af_e3ce9ace5c7c["addField()"]
  1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 -->|calls| adba42ff_48cb_76c7_a8af_e3ce9ace5c7c
  style 1bb5eed9_3ff4_9a0c_915f_f8a6a8c14901 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/JavaBeanBinder.java lines 167–174

		private void addProperties(Class<?> type) {
			while (type != null && !Object.class.equals(type)) {
				Method[] declaredMethods = getSorted(type, this::getDeclaredMethods, Method::getName);
				Field[] declaredFields = getSorted(type, Class::getDeclaredFields, Field::getName);
				addProperties(declaredMethods, declaredFields);
				type = type.getSuperclass();
			}
		}

Domain

Subdomains

Calls

Called By

  • BeanProperties()

Frequently Asked Questions

What does addProperties() do?
addProperties() is a function in the spring-boot codebase.
What does addProperties() call?
addProperties() calls 5 function(s): addField, addMethodIfPossible, equals, getSorted, isCandidate.
What calls addProperties()?
addProperties() is called by 1 function(s): BeanProperties.

Analyze Your Own Codebase

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

Try Supermodel Free