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

opt() — spring-boot Function Reference

Architecture documentation for the opt() function in JSONArray.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 9

Entity Profile

Dependency Diagram

graph TD
  17baeb06_fa82_f100_89b4_a0074d1e868e["opt()"]
  69bf0619_b768_e27c_ae6e_41186e96d262["isNull()"]
  69bf0619_b768_e27c_ae6e_41186e96d262 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  86a50e40_8536_d489_f70e_5ca7d96b434a["optBoolean()"]
  86a50e40_8536_d489_f70e_5ca7d96b434a -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  dbdf6b33_8f9b_5b33_b606_0af4ff19f1a1["optDouble()"]
  dbdf6b33_8f9b_5b33_b606_0af4ff19f1a1 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  521bec19_6953_864b_bb40_8ffffa7af5d3["optInt()"]
  521bec19_6953_864b_bb40_8ffffa7af5d3 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  7d0c67b1_a7bf_fe8a_b027_752eb43dfa27["optLong()"]
  7d0c67b1_a7bf_fe8a_b027_752eb43dfa27 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  8adeec78_5888_b08b_08a7_89d94c36b41e["optString()"]
  8adeec78_5888_b08b_08a7_89d94c36b41e -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  da474625_d528_ea49_252f_b1f3960e0de4["optJSONArray()"]
  da474625_d528_ea49_252f_b1f3960e0de4 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  56014e10_9a24_d9a5_1566_d3156cdb8144["optJSONObject()"]
  56014e10_9a24_d9a5_1566_d3156cdb8144 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  0a0f807f_e96b_1f82_b758_e1f3239c96a7["toJSONObject()"]
  0a0f807f_e96b_1f82_b758_e1f3239c96a7 -->|calls| 17baeb06_fa82_f100_89b4_a0074d1e868e
  93605ca9_8576_4803_faef_67cbcbb051b7["get()"]
  17baeb06_fa82_f100_89b4_a0074d1e868e -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  style 17baeb06_fa82_f100_89b4_a0074d1e868e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/json-shade/java/org/springframework/boot/configurationprocessor/json/JSONArray.java lines 298–303

	public Object opt(int index) {
		if (index < 0 || index >= this.values.size()) {
			return null;
		}
		return this.values.get(index);
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does opt() do?
opt() is a function in the spring-boot codebase.
What does opt() call?
opt() calls 1 function(s): get.
What calls opt()?
opt() is called by 9 function(s): isNull, optBoolean, optDouble, optInt, optJSONArray, optJSONObject, optLong, optString, and 1 more.

Analyze Your Own Codebase

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

Try Supermodel Free