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

getListProperty() — spring-boot Function Reference

Architecture documentation for the getListProperty() function in OriginTrackedPropertiesLoaderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8f018d7a_f7f2_8ec1_4ba0_e4eeceb1a584["getListProperty()"]
  3bb5c042_27ce_3512_6016_8845e447ec7c["getFromFirst()"]
  8f018d7a_f7f2_8ec1_4ba0_e4eeceb1a584 -->|calls| 3bb5c042_27ce_3512_6016_8845e447ec7c
  9f42feed_83fc_1922_6e02_c913d7f8de74["getValue()"]
  8f018d7a_f7f2_8ec1_4ba0_e4eeceb1a584 -->|calls| 9f42feed_83fc_1922_6e02_c913d7f8de74
  6804449e_b1dd_14ae_3e8c_488a4672206a["getLocation()"]
  8f018d7a_f7f2_8ec1_4ba0_e4eeceb1a584 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  style 8f018d7a_f7f2_8ec1_4ba0_e4eeceb1a584 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/env/OriginTrackedPropertiesLoaderTests.java lines 312–326

	@Test
	void getListProperty() {
		OriginTrackedValue apple = getFromFirst("foods[0]");
		assertThat(getValue(apple)).isEqualTo("Apple");
		assertThat(getLocation(apple)).isEqualTo("24:9");
		OriginTrackedValue orange = getFromFirst("foods[1]");
		assertThat(getValue(orange)).isEqualTo("Orange");
		assertThat(getLocation(orange)).isEqualTo("25:1");
		OriginTrackedValue strawberry = getFromFirst("foods[2]");
		assertThat(getValue(strawberry)).isEqualTo("Strawberry");
		assertThat(getLocation(strawberry)).isEqualTo("26:1");
		OriginTrackedValue mango = getFromFirst("foods[3]");
		assertThat(getValue(mango)).isEqualTo("Mango");
		assertThat(getLocation(mango)).isEqualTo("27:1");
	}

Domain

Subdomains

Frequently Asked Questions

What does getListProperty() do?
getListProperty() is a function in the spring-boot codebase.
What does getListProperty() call?
getListProperty() calls 3 function(s): getFromFirst, getLocation, getValue.

Analyze Your Own Codebase

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

Try Supermodel Free