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

isNested() — spring-boot Function Reference

Architecture documentation for the isNested() function in PropertyDescriptor.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 6 called by 1

Entity Profile

Dependency Diagram

graph TD
  36448759_7cce_fec8_b5d7_153f868e0a92["isNested()"]
  7d3d9a20_851b_c762_1431_390ae20d4c1a["resolveItemMetadata()"]
  7d3d9a20_851b_c762_1431_390ae20d4c1a -->|calls| 36448759_7cce_fec8_b5d7_153f868e0a92
  7de4300f_d0b6_f0e8_b0f1_151794249711["getType()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| 7de4300f_d0b6_f0e8_b0f1_151794249711
  af34f9a7_828e_3b23_4513_067531344156["getGetter()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| af34f9a7_828e_3b23_4513_067531344156
  f8a83b21_b9d4_230c_da7c_ba1ce0db1f2c["isMarkedAsNested()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| f8a83b21_b9d4_230c_da7c_ba1ce0db1f2c
  14ce7f55_4a26_2737_d6c6_7663fd55490c["isCyclePresent()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| 14ce7f55_4a26_2737_d6c6_7663fd55490c
  7780a014_a776_6bbb_e874_899cc23cfe63["getDeclaringElement()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| 7780a014_a776_6bbb_e874_899cc23cfe63
  71f22fac_d60f_8323_a45b_9bf925057d3b["isParentTheSame()"]
  36448759_7cce_fec8_b5d7_153f868e0a92 -->|calls| 71f22fac_d60f_8323_a45b_9bf925057d3b
  style 36448759_7cce_fec8_b5d7_153f868e0a92 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/PropertyDescriptor.java lines 126–137

	boolean isNested(MetadataGenerationEnvironment environment) {
		Element typeElement = environment.getTypeUtils().asElement(getType());
		if (!(typeElement instanceof TypeElement) || typeElement.getKind() == ElementKind.ENUM
				|| environment.getConfigurationPropertiesAnnotation(getGetter()) != null) {
			return false;
		}
		if (isMarkedAsNested(environment)) {
			return true;
		}
		return !isCyclePresent(typeElement, getDeclaringElement())
				&& isParentTheSame(environment, typeElement, getDeclaringElement());
	}

Domain

Subdomains

Frequently Asked Questions

What does isNested() do?
isNested() is a function in the spring-boot codebase.
What does isNested() call?
isNested() calls 6 function(s): getDeclaringElement, getGetter, getType, isCyclePresent, isMarkedAsNested, isParentTheSame.
What calls isNested()?
isNested() is called by 1 function(s): resolveItemMetadata.

Analyze Your Own Codebase

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

Try Supermodel Free