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

whenHasLength() — spring-boot Function Reference

Architecture documentation for the whenHasLength() function in JsonWriter.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  f48a50d1_ddbc_22d1_6b49_38fc95f9d284["whenHasLength()"]
  7861385d_f2c2_c637_c93d_c701d847504d["jsonMembers()"]
  7861385d_f2c2_c637_c93d_c701d847504d -->|calls| f48a50d1_ddbc_22d1_6b49_38fc95f9d284
  00081c88_0ee6_5234_dddb_f24292a5289b["jsonMembers()"]
  00081c88_0ee6_5234_dddb_f24292a5289b -->|calls| f48a50d1_ddbc_22d1_6b49_38fc95f9d284
  68483afa_0e52_64ee_3905_33a256322ad3["jsonMembers()"]
  68483afa_0e52_64ee_3905_33a256322ad3 -->|calls| f48a50d1_ddbc_22d1_6b49_38fc95f9d284
  799878d3_171a_6420_35ef_9b1176e2d5e6["when()"]
  f48a50d1_ddbc_22d1_6b49_38fc95f9d284 -->|calls| 799878d3_171a_6420_35ef_9b1176e2d5e6
  f059a39e_2fd2_e8f5_b276_7d346b437552["toString()"]
  f48a50d1_ddbc_22d1_6b49_38fc95f9d284 -->|calls| f059a39e_2fd2_e8f5_b276_7d346b437552
  style f48a50d1_ddbc_22d1_6b49_38fc95f9d284 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java lines 411–413

		public Member<T> whenHasLength() {
			return when((instance) -> instance != null && StringUtils.hasLength(instance.toString()));
		}

Domain

Subdomains

Frequently Asked Questions

What does whenHasLength() do?
whenHasLength() is a function in the spring-boot codebase.
What does whenHasLength() call?
whenHasLength() calls 2 function(s): toString, when.
What calls whenHasLength()?
whenHasLength() is called by 3 function(s): jsonMembers, jsonMembers, jsonMembers.

Analyze Your Own Codebase

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

Try Supermodel Free