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

hashPrefix() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  86e3e48e_de31_d4fa_44e0_ba7302a6dbcd["hashPrefix()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4["printFullStackTrace()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4 -->|calls| 86e3e48e_de31_d4fa_44e0_ba7302a6dbcd
  73898de1_d47e_badf_237e_a5abba45c416["printSingleStackTrace()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| 86e3e48e_de31_d4fa_44e0_ba7302a6dbcd
  42a1e0ba_1f33_18e2_8339_c3a381c06c89["throwable()"]
  86e3e48e_de31_d4fa_44e0_ba7302a6dbcd -->|calls| 42a1e0ba_1f33_18e2_8339_c3a381c06c89
  b38f02ce_76a8_9894_76e1_8a5c4cb23cd8["hash()"]
  86e3e48e_de31_d4fa_44e0_ba7302a6dbcd -->|calls| b38f02ce_76a8_9894_76e1_8a5c4cb23cd8
  style 86e3e48e_de31_d4fa_44e0_ba7302a6dbcd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java lines 456–463

		String hashPrefix(@Nullable ToIntFunction<StackTraceElement> frameHasher) {
			if (frameHasher == null || throwable() == null) {
				return "";
			}
			this.hashPrefix = (this.hashPrefix != null) ? this.hashPrefix
					: String.format("<#%08x> ", hash(new HashSet<>(), frameHasher));
			return this.hashPrefix;
		}

Domain

Subdomains

Frequently Asked Questions

What does hashPrefix() do?
hashPrefix() is a function in the spring-boot codebase.
What does hashPrefix() call?
hashPrefix() calls 2 function(s): hash, throwable.
What calls hashPrefix()?
hashPrefix() is called by 2 function(s): printFullStackTrace, printSingleStackTrace.

Analyze Your Own Codebase

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

Try Supermodel Free