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

getName() — spring-boot Function Reference

Architecture documentation for the getName() function in MappedObject.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  83af8cfd_36a5_2537_9917_96c2d1426112["getName()"]
  76940359_add9_4519_6ff4_94f95a81453d["valueAt()"]
  76940359_add9_4519_6ff4_94f95a81453d -->|calls| 83af8cfd_36a5_2537_9917_96c2d1426112
  438c1049_02c5_bb55_79d6_bc1f335dc740["invoke()"]
  438c1049_02c5_bb55_79d6_bc1f335dc740 -->|calls| 83af8cfd_36a5_2537_9917_96c2d1426112
  style 83af8cfd_36a5_2537_9917_96c2d1426112 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json/MappedObject.java lines 255–266

		private String getName(String name) {
			StringBuilder result = new StringBuilder(name);
			if (name.startsWith(GET)) {
				result = new StringBuilder(name.substring(GET.length()));
			}
			if (name.startsWith(IS)) {
				result = new StringBuilder(name.substring(IS.length()));
			}
			Assert.state(result.length() >= 0, "Missing name");
			result.setCharAt(0, Character.toLowerCase(result.charAt(0)));
			return result.toString();
		}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getName() do?
getName() is a function in the spring-boot codebase.
What calls getName()?
getName() is called by 2 function(s): invoke, valueAt.

Analyze Your Own Codebase

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

Try Supermodel Free