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

getLocation() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 3 called by 22

Entity Profile

Dependency Diagram

graph TD
  6804449e_b1dd_14ae_3e8c_488a4672206a["getLocation()"]
  d9a6e811_78cd_f2c1_ca7b_743df271ce20["getSimpleProperty()"]
  d9a6e811_78cd_f2c1_ca7b_743df271ce20 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  b8131ca3_043d_3a31_833c_5c0aaf6478e5["getSimplePropertyWithColonSeparator()"]
  b8131ca3_043d_3a31_833c_5c0aaf6478e5 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  f8c556f1_b043_27f3_92ed_5b6027054c0a["getPropertyWithSeparatorSurroundedBySpaces()"]
  f8c556f1_b043_27f3_92ed_5b6027054c0a -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  a83540f1_0904_ec8d_9f3f_6cb006864359["getUnicodeProperty()"]
  a83540f1_0904_ec8d_9f3f_6cb006864359 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  83f695e3_5206_8ebd_d687_1d30f13c13a6["getEscapedProperty()"]
  83f695e3_5206_8ebd_d687_1d30f13c13a6 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  d86003d7_f00e_5e31_267f_00f5b500bea7["getPropertyWithTab()"]
  d86003d7_f00e_5e31_267f_00f5b500bea7 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  fd1f94a0_7d3b_d0fa_45ab_42fb4584e20e["getPropertyWithBang()"]
  fd1f94a0_7d3b_d0fa_45ab_42fb4584e20e -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  551fc619_79ed_a508_cd5c_d27de959110d["getPropertyWithValueComment()"]
  551fc619_79ed_a508_cd5c_d27de959110d -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  2978b68f_081a_dc44_fcfb_560c4fe9bfa0["getPropertyWithMultilineImmediateBang()"]
  2978b68f_081a_dc44_fcfb_560c4fe9bfa0 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  3dbbecaa_5693_8953_3a4f_9a086955b82b["getPropertyWithCarriageReturn()"]
  3dbbecaa_5693_8953_3a4f_9a086955b82b -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  93a424a2_0fa7_889b_7b43_69d826c58d98["getPropertyWithNewLine()"]
  93a424a2_0fa7_889b_7b43_69d826c58d98 -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  bd4d525f_7b21_bad4_bd5f_5b4f229a123a["getPropertyWithFormFeed()"]
  bd4d525f_7b21_bad4_bd5f_5b4f229a123a -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  28867613_1d13_c8be_6559_fd640a5410bf["getPropertyWithWhiteSpace()"]
  28867613_1d13_c8be_6559_fd640a5410bf -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  1cfa2b89_dd6b_a666_8bbe_f35cbcec98ad["getMultiline()"]
  1cfa2b89_dd6b_a666_8bbe_f35cbcec98ad -->|calls| 6804449e_b1dd_14ae_3e8c_488a4672206a
  style 6804449e_b1dd_14ae_3e8c_488a4672206a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/env/OriginTrackedPropertiesLoaderTests.java lines 402–411

	private @Nullable String getLocation(@Nullable OriginTrackedValue value) {
		if (value == null) {
			return null;
		}
		Origin origin = value.getOrigin();
		assertThat(origin).isNotNull();
		Location location = ((TextResourceOrigin) origin).getLocation();
		assertThat(location).isNotNull();
		return location.toString();
	}

Domain

Subdomains

Frequently Asked Questions

What does getLocation() do?
getLocation() is a function in the spring-boot codebase.
What does getLocation() call?
getLocation() calls 3 function(s): getLocation, getOrigin, toString.
What calls getLocation()?
getLocation() is called by 22 function(s): getEscapedProperty, getImmediateMultiline, getListProperty, getMultiline, getPropertyWithBackslashEscaped, getPropertyWithBackslashEscapedInValue, getPropertyWithBang, getPropertyWithCarriageReturn, and 14 more.

Analyze Your Own Codebase

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

Try Supermodel Free