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

remainderIsDashes() — spring-boot Function Reference

Architecture documentation for the remainderIsDashes() function in ConfigurationPropertyName.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  3731b997_1b3b_ddae_083e_05deb6a7bcd1["remainderIsDashes()"]
  a99d6915_188f_3a46_73ca_2c6145bcc19c["dashIgnoringElementEquals()"]
  a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 3731b997_1b3b_ddae_083e_05deb6a7bcd1
  8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"]
  3731b997_1b3b_ddae_083e_05deb6a7bcd1 -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305
  50ab77a1_5a37_b789_ed17_ece7194cd0be["isIndexed()"]
  3731b997_1b3b_ddae_083e_05deb6a7bcd1 -->|calls| 50ab77a1_5a37_b789_ed17_ece7194cd0be
  078d0419_5dac_13e0_535f_d4e66b97b64b["getLength()"]
  3731b997_1b3b_ddae_083e_05deb6a7bcd1 -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  56983625_becb_2cdb_d3ed_1a0eb7c431a9["charAt()"]
  3731b997_1b3b_ddae_083e_05deb6a7bcd1 -->|calls| 56983625_becb_2cdb_d3ed_1a0eb7c431a9
  style 3731b997_1b3b_ddae_083e_05deb6a7bcd1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 512–525

	private boolean remainderIsDashes(Elements elements, int element, int index) {
		if (elements.getType(element).isIndexed()) {
			return false;
		}
		int length = elements.getLength(element);
		do {
			char c = elements.charAt(element, index++);
			if (c != '-') {
				return false;
			}
		}
		while (index < length);
		return true;
	}

Domain

Subdomains

Frequently Asked Questions

What does remainderIsDashes() do?
remainderIsDashes() is a function in the spring-boot codebase.
What does remainderIsDashes() call?
remainderIsDashes() calls 4 function(s): charAt, getLength, getType, isIndexed.
What calls remainderIsDashes()?
remainderIsDashes() is called by 1 function(s): dashIgnoringElementEquals.

Analyze Your Own Codebase

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

Try Supermodel Free