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

withCaption() — spring-boot Function Reference

Architecture documentation for the withCaption() function in StandardStackTracePrinter.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1c7c03be_0230_614b_4183_797c7a2dda99["withCaption()"]
  0c5c4f65_801d_86ce_c693_1c7514fe6b62["withCausedByCaption()"]
  0c5c4f65_801d_86ce_c693_1c7514fe6b62 -->|calls| 1c7c03be_0230_614b_4183_797c7a2dda99
  c8cf34c0_9e58_58c2_9e7a_48adf0b66938["withWrappedByCaption()"]
  c8cf34c0_9e58_58c2_9e7a_48adf0b66938 -->|calls| 1c7c03be_0230_614b_4183_797c7a2dda99
  aef59a20_5ca0_34f5_2d7d_dc918b8d2664["withSuppressedCaption()"]
  aef59a20_5ca0_34f5_2d7d_dc918b8d2664 -->|calls| 1c7c03be_0230_614b_4183_797c7a2dda99
  style 1c7c03be_0230_614b_4183_797c7a2dda99 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java lines 360–362

		private Print withCaption(boolean test, String extraIndent, String caption) {
			return (test) ? new Print(this.indent + extraIndent, caption, this.output) : this;
		}

Domain

Subdomains

Called By

  • withCausedByCaption()
  • withSuppressedCaption()
  • withWrappedByCaption()

Frequently Asked Questions

What does withCaption() do?
withCaption() is a function in the spring-boot codebase.
What calls withCaption()?
withCaption() is called by 3 function(s): withCausedByCaption, withSuppressedCaption, withWrappedByCaption.

Analyze Your Own Codebase

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

Try Supermodel Free