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

getLastElement() — spring-boot Function Reference

Architecture documentation for the getLastElement() function in ConfigurationPropertyName.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 4

Entity Profile

Dependency Diagram

graph TD
  54e7db73_1a39_58a7_c600_770bf6d1f562["getLastElement()"]
  2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2["bindIndexed()"]
  2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2 -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f["getKnownIndexedChildren()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  b96ffcc5_6766_3a9b_ede9_be5f729c1b6d["assertNoUnboundChildren()"]
  b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  40ce7e96_de87_4ff4_e5a3_a9476248d61c["isForError()"]
  40ce7e96_de87_4ff4_e5a3_a9476248d61c -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"]
  54e7db73_1a39_58a7_c600_770bf6d1f562 -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61
  bc164715_9139_37ca_1cb7_07a5191210d7["getElement()"]
  54e7db73_1a39_58a7_c600_770bf6d1f562 -->|calls| bc164715_9139_37ca_1cb7_07a5191210d7
  style 54e7db73_1a39_58a7_c600_770bf6d1f562 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 138–141

	public String getLastElement(Form form) {
		int size = getNumberOfElements();
		return (size != 0) ? getElement(size - 1, form) : EMPTY_STRING;
	}

Domain

Subdomains

Frequently Asked Questions

What does getLastElement() do?
getLastElement() is a function in the spring-boot codebase.
What does getLastElement() call?
getLastElement() calls 2 function(s): getElement, getNumberOfElements.
What calls getLastElement()?
getLastElement() is called by 4 function(s): assertNoUnboundChildren, bindIndexed, getKnownIndexedChildren, isForError.

Analyze Your Own Codebase

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

Try Supermodel Free