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

createPropertyDescriptor() — spring-boot Function Reference

Architecture documentation for the createPropertyDescriptor() function in ConstructorParameterPropertyDescriptorTests.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 12

Entity Profile

Dependency Diagram

graph TD
  01858eef_497b_9b99_1fa3_166f177ab75c["createPropertyDescriptor()"]
  e4bc7369_9e4e_d1db_4798_2cb64b74b421["constructorParameterSimpleProperty()"]
  e4bc7369_9e4e_d1db_4798_2cb64b74b421 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  33abd817_ac12_265a_47c0_d70480191e98["constructorParameterNestedPropertySameClass()"]
  33abd817_ac12_265a_47c0_d70480191e98 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  24684f6f_eb94_c4a4_8a8e_cf64959d0e16["constructorParameterNestedPropertyWithAnnotation()"]
  24684f6f_eb94_c4a4_8a8e_cf64959d0e16 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  c1b9688a_52f3_2731_aa8d_a0dbb28b0e5f["constructorParameterSimplePropertyWithNoAccessorShouldBeExposed()"]
  c1b9688a_52f3_2731_aa8d_a0dbb28b0e5f -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  c2159811_02d7_4c41_18ce_39caf8105fbd["constructorParameterMetadataSimpleProperty()"]
  c2159811_02d7_4c41_18ce_39caf8105fbd -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  b07d2f7e_62fb_0028_c851_34e96f2c3898["constructorParameterMetadataNestedGroup()"]
  b07d2f7e_62fb_0028_c851_34e96f2c3898 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  e3a26e87_4b0a_dd0f_650a_9baeab08b40f["constructorParameterPropertyWithDescription()"]
  e3a26e87_4b0a_dd0f_650a_9baeab08b40f -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  20808df6_f8e3_43d5_41e1_0e1826879e5d["constructorParameterPropertyWithDefaultValue()"]
  20808df6_f8e3_43d5_41e1_0e1826879e5d -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  a593c0bf_697f_7646_1d1e_c6bcdf9bfeda["constructorParameterPropertyWithPrimitiveTypes()"]
  a593c0bf_697f_7646_1d1e_c6bcdf9bfeda -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  bb5afc56_39ac_09fa_7b8b_3a0ecc8d9657["constructorParameterPropertyWithPrimitiveTypesAndDefaultValues()"]
  bb5afc56_39ac_09fa_7b8b_3a0ecc8d9657 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  c82af089_7762_2b06_c473_214d27fdf8a4["constructorParameterPropertyWithPrimitiveWrapperTypesAndDefaultValues()"]
  c82af089_7762_2b06_c473_214d27fdf8a4 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  13d3614e_6a7e_175a_86f7_9a77e65fba61["constructorParameterPropertyWithCollectionTypesAndDefaultValues()"]
  13d3614e_6a7e_175a_86f7_9a77e65fba61 -->|calls| 01858eef_497b_9b99_1fa3_166f177ab75c
  99a88793_1628_c263_5f12_290f20710d9b["getConstructorParameter()"]
  01858eef_497b_9b99_1fa3_166f177ab75c -->|calls| 99a88793_1628_c263_5f12_290f20710d9b
  style 01858eef_497b_9b99_1fa3_166f177ab75c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConstructorParameterPropertyDescriptorTests.java lines 220–227

	protected ConstructorParameterPropertyDescriptor createPropertyDescriptor(TypeElement ownerElement, String name) {
		VariableElement constructorParameter = getConstructorParameter(ownerElement, name);
		VariableElement field = getField(ownerElement, name);
		ExecutableElement getter = getMethod(ownerElement, createAccessorMethodName("get", name));
		ExecutableElement setter = getMethod(ownerElement, createAccessorMethodName("set", name));
		return new ConstructorParameterPropertyDescriptor(name, field.asType(), constructorParameter, ownerElement,
				getter, setter, field);
	}

Domain

Subdomains

Calls

  • getConstructorParameter()

Called By

  • constructorParameterMetadataNestedGroup()
  • constructorParameterMetadataSimpleProperty()
  • constructorParameterNestedPropertySameClass()
  • constructorParameterNestedPropertyWithAnnotation()
  • constructorParameterPropertyWithCollectionTypesAndDefaultValues()
  • constructorParameterPropertyWithDefaultValue()
  • constructorParameterPropertyWithDescription()
  • constructorParameterPropertyWithPrimitiveTypes()
  • constructorParameterPropertyWithPrimitiveTypesAndDefaultValues()
  • constructorParameterPropertyWithPrimitiveWrapperTypesAndDefaultValues()
  • constructorParameterSimpleProperty()
  • constructorParameterSimplePropertyWithNoAccessorShouldBeExposed()

Frequently Asked Questions

What does createPropertyDescriptor() do?
createPropertyDescriptor() is a function in the spring-boot codebase.
What does createPropertyDescriptor() call?
createPropertyDescriptor() calls 1 function(s): getConstructorParameter.
What calls createPropertyDescriptor()?
createPropertyDescriptor() is called by 12 function(s): constructorParameterMetadataNestedGroup, constructorParameterMetadataSimpleProperty, constructorParameterNestedPropertySameClass, constructorParameterNestedPropertyWithAnnotation, constructorParameterPropertyWithCollectionTypesAndDefaultValues, constructorParameterPropertyWithDefaultValue, constructorParameterPropertyWithDescription, constructorParameterPropertyWithPrimitiveTypes, and 4 more.

Analyze Your Own Codebase

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

Try Supermodel Free