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

incrementIndexAndAddCommaIfRequired() — spring-boot Function Reference

Architecture documentation for the incrementIndexAndAddCommaIfRequired() function in JsonValueWriter.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  b053ccff_1606_aca1_2cc4_7ade10f9a1f0["incrementIndexAndAddCommaIfRequired()"]
  be5c69d6_bb1a_151d_0ccc_edbc7d4f9bad["writeElement()"]
  be5c69d6_bb1a_151d_0ccc_edbc7d4f9bad -->|calls| b053ccff_1606_aca1_2cc4_7ade10f9a1f0
  38f66200_2257_94aa_9c43_e9a2f205a1c4["writePair()"]
  38f66200_2257_94aa_9c43_e9a2f205a1c4 -->|calls| b053ccff_1606_aca1_2cc4_7ade10f9a1f0
  fa3e1f17_48fd_2ad5_b4cd_873b931f4dba["append()"]
  b053ccff_1606_aca1_2cc4_7ade10f9a1f0 -->|calls| fa3e1f17_48fd_2ad5_b4cd_873b931f4dba
  style b053ccff_1606_aca1_2cc4_7ade10f9a1f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/json/JsonValueWriter.java lines 417–422

		void incrementIndexAndAddCommaIfRequired() {
			if (this.index > 0) {
				append(',');
			}
			this.index++;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does incrementIndexAndAddCommaIfRequired() do?
incrementIndexAndAddCommaIfRequired() is a function in the spring-boot codebase.
What does incrementIndexAndAddCommaIfRequired() call?
incrementIndexAndAddCommaIfRequired() calls 1 function(s): append.
What calls incrementIndexAndAddCommaIfRequired()?
incrementIndexAndAddCommaIfRequired() is called by 2 function(s): writeElement, writePair.

Analyze Your Own Codebase

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

Try Supermodel Free