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

whenNotEmpty() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  7a028b4a_d3c9_e5bf_e4c1_097b6e966373["whenNotEmpty()"]
  35eb7ecf_9392_fb71_cf15_2f2d3e61ddac["jsonMembers()"]
  35eb7ecf_9392_fb71_cf15_2f2d3e61ddac -->|calls| 7a028b4a_d3c9_e5bf_e4c1_097b6e966373
  8746d624_5b44_ba47_84d3_75bf3d589a2d["jsonMembers()"]
  8746d624_5b44_ba47_84d3_75bf3d589a2d -->|calls| 7a028b4a_d3c9_e5bf_e4c1_097b6e966373
  26f934f9_8400_ac5b_355a_4e6b731fff3b["jsonMembers()"]
  26f934f9_8400_ac5b_355a_4e6b731fff3b -->|calls| 7a028b4a_d3c9_e5bf_e4c1_097b6e966373
  ece6bd2e_82b0_6491_04f6_e1228ca26600["whenNot()"]
  7a028b4a_d3c9_e5bf_e4c1_097b6e966373 -->|calls| ece6bd2e_82b0_6491_04f6_e1228ca26600
  style 7a028b4a_d3c9_e5bf_e4c1_097b6e966373 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java lines 420–423

		public Member<T> whenNotEmpty() {
			Predicate<@Nullable T> isEmpty = ObjectUtils::isEmpty;
			return whenNot(isEmpty);
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does whenNotEmpty() do?
whenNotEmpty() is a function in the spring-boot codebase.
What does whenNotEmpty() call?
whenNotEmpty() calls 1 function(s): whenNot.
What calls whenNotEmpty()?
whenNotEmpty() 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