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
  c84006b6_90fc_34f2_d36b_23f5c525e8bb["opt()"]
  c99f2462_c586_941f_62aa_0234cf4e134d["isNull()"]
  c99f2462_c586_941f_62aa_0234cf4e134d -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  446420f3_17de_93b5_e3ca_00e120de023f["optBoolean()"]
  446420f3_17de_93b5_e3ca_00e120de023f -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  53b0e373_1620_5cbe_0c46_3bc0811aedc1["optDouble()"]
  53b0e373_1620_5cbe_0c46_3bc0811aedc1 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  39c00494_8b7c_5d2a_5d57_73033df1cb01["optInt()"]
  39c00494_8b7c_5d2a_5d57_73033df1cb01 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  0229e0da_1a64_775d_e2e9_dfda7d5d55f0["optLong()"]
  0229e0da_1a64_775d_e2e9_dfda7d5d55f0 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  4ca86887_381a_91c9_fdcb_6835dc98e62c["optString()"]
  4ca86887_381a_91c9_fdcb_6835dc98e62c -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  00723746_36c9_9d21_63d2_078626d01717["optJSONArray()"]
  00723746_36c9_9d21_63d2_078626d01717 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  292d5947_d61c_f579_73ad_840fac40add9["optJSONObject()"]
  292d5947_d61c_f579_73ad_840fac40add9 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  ffb1a7e8_da1c_3d81_eee9_13a1276f4773["toJSONObject()"]
  ffb1a7e8_da1c_3d81_eee9_13a1276f4773 -->|calls| c84006b6_90fc_34f2_d36b_23f5c525e8bb
  cd6b1b70_1c04_b3ac_5a0c_523269138bce["get()"]
  c84006b6_90fc_34f2_d36b_23f5c525e8bb -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  style c84006b6_90fc_34f2_d36b_23f5c525e8bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/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