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

hintsOnMaps() — spring-boot Function Reference

Architecture documentation for the hintsOnMaps() function in ConfigurationMetadataRepositoryJsonBuilderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  64dc8ef0_1fc0_a375_6216_18cbf4f2dc57["hintsOnMaps()"]
  0b25affd_f952_74a6_4688_9973dc67de78["validateMap()"]
  64dc8ef0_1fc0_a375_6216_18cbf4f2dc57 -->|calls| 0b25affd_f952_74a6_4688_9973dc67de78
  03e76805_67f6_02dc_71cd_4fb3e6172301["contains()"]
  64dc8ef0_1fc0_a375_6216_18cbf4f2dc57 -->|calls| 03e76805_67f6_02dc_71cd_4fb3e6172301
  style 64dc8ef0_1fc0_a375_6216_18cbf4f2dc57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/test/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilderTests.java lines 53–63

	@Test
	void hintsOnMaps() throws IOException {
		try (InputStream map = getInputStreamFor("map")) {
			ConfigurationMetadataRepository repo = ConfigurationMetadataRepositoryJsonBuilder.create(map).build();
			validateMap(repo);
			assertThat(repo.getAllGroups()).hasSize(1);
			contains(repo.getAllProperties(), "spring.map.first", "spring.map.second", "spring.map.keys",
					"spring.map.values");
			assertThat(repo.getAllProperties()).hasSize(4);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does hintsOnMaps() do?
hintsOnMaps() is a function in the spring-boot codebase.
What does hintsOnMaps() call?
hintsOnMaps() calls 2 function(s): contains, validateMap.

Analyze Your Own Codebase

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

Try Supermodel Free