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

parseDependencies() — spring-boot Function Reference

Architecture documentation for the parseDependencies() function in InitializrServiceMetadata.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  4e5a1b57_0ba4_483a_58bf_208e56d47173["parseDependencies()"]
  5e73729f_45b6_854c_8e3b_855cb22017ae["InitializrServiceMetadata()"]
  5e73729f_45b6_854c_8e3b_855cb22017ae -->|calls| 4e5a1b57_0ba4_483a_58bf_208e56d47173
  bce510cf_7d62_2e24_bead_369f8b5a84e7["has()"]
  4e5a1b57_0ba4_483a_58bf_208e56d47173 -->|calls| bce510cf_7d62_2e24_bead_369f8b5a84e7
  08e2b7d4_9e48_302c_6775_96d7cb0c4417["parseGroup()"]
  4e5a1b57_0ba4_483a_58bf_208e56d47173 -->|calls| 08e2b7d4_9e48_302c_6775_96d7cb0c4417
  3128ccd0_28ac_1273_dfe1_db2bf2f8d7d9["getJSONObject()"]
  4e5a1b57_0ba4_483a_58bf_208e56d47173 -->|calls| 3128ccd0_28ac_1273_dfe1_db2bf2f8d7d9
  6e420626_9c66_5f20_7665_83a5a7322d32["getJSONArray()"]
  4e5a1b57_0ba4_483a_58bf_208e56d47173 -->|calls| 6e420626_9c66_5f20_7665_83a5a7322d32
  962a1b8e_5945_fd2e_b3a6_b6f25d6bc0b1["length()"]
  4e5a1b57_0ba4_483a_58bf_208e56d47173 -->|calls| 962a1b8e_5945_fd2e_b3a6_b6f25d6bc0b1
  style 4e5a1b57_0ba4_483a_58bf_208e56d47173 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java lines 130–142

	private Map<String, Dependency> parseDependencies(JSONObject root) throws JSONException {
		Map<String, Dependency> result = new HashMap<>();
		if (!root.has(DEPENDENCIES_EL)) {
			return result;
		}
		JSONObject dependencies = root.getJSONObject(DEPENDENCIES_EL);
		JSONArray array = dependencies.getJSONArray(VALUES_EL);
		for (int i = 0; i < array.length(); i++) {
			JSONObject group = array.getJSONObject(i);
			parseGroup(group, result);
		}
		return result;
	}

Domain

Subdomains

Frequently Asked Questions

What does parseDependencies() do?
parseDependencies() is a function in the spring-boot codebase.
What does parseDependencies() call?
parseDependencies() calls 5 function(s): getJSONArray, getJSONObject, has, length, parseGroup.
What calls parseDependencies()?
parseDependencies() is called by 1 function(s): InitializrServiceMetadata.

Analyze Your Own Codebase

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

Try Supermodel Free