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

includes() — spring-boot Function Reference

Architecture documentation for the includes() function in ConfigDataLocationRuntimeHintsTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  4a3060e4_1f0a_f092_bab4_4b6098ab3231["includes()"]
  68ecaa50_9a29_e721_804b_775fc2844592["registerWithDefaultSettings()"]
  68ecaa50_9a29_e721_804b_775fc2844592 -->|calls| 4a3060e4_1f0a_f092_bab4_4b6098ab3231
  cf5b1255_649b_0c3d_41a8_13398cb89b55["registerWithCustomName()"]
  cf5b1255_649b_0c3d_41a8_13398cb89b55 -->|calls| 4a3060e4_1f0a_f092_bab4_4b6098ab3231
  13d3b012_e7e2_8eea_0995_f250dd8c822b["registerWithCustomLocation()"]
  13d3b012_e7e2_8eea_0995_f250dd8c822b -->|calls| 4a3060e4_1f0a_f092_bab4_4b6098ab3231
  a0b2a49e_51b6_5bab_9618_2224797fded6["registerWithCustomExtension()"]
  a0b2a49e_51b6_5bab_9618_2224797fded6 -->|calls| 4a3060e4_1f0a_f092_bab4_4b6098ab3231
  style 4a3060e4_1f0a_f092_bab4_4b6098ab3231 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataLocationRuntimeHintsTests.java lines 117–120

	private Consumer<ResourcePatternHints> includes(String... patterns) {
		return (hint) -> assertThat(hint.getIncludes().stream().map(ResourcePatternHint::getPattern))
			.contains(patterns);
	}

Domain

Subdomains

Called By

  • registerWithCustomExtension()
  • registerWithCustomLocation()
  • registerWithCustomName()
  • registerWithDefaultSettings()

Frequently Asked Questions

What does includes() do?
includes() is a function in the spring-boot codebase.
What calls includes()?
includes() is called by 4 function(s): registerWithCustomExtension, registerWithCustomLocation, registerWithCustomName, registerWithDefaultSettings.

Analyze Your Own Codebase

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

Try Supermodel Free