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

searchBackwards() — spring-boot Function Reference

Architecture documentation for the searchBackwards() function in EscapeAwareWhiteSpaceArgumentDelimiter.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  17c49915_ef95_09c8_8658_1da115790185["searchBackwards()"]
  ca5a8340_8256_a071_64a7_44fcc7ebbfce["isQuoted()"]
  ca5a8340_8256_a071_64a7_44fcc7ebbfce -->|calls| 17c49915_ef95_09c8_8658_1da115790185
  1ba360b1_5d38_00fc_9f3e_fba558889335["isEscaped()"]
  17c49915_ef95_09c8_8658_1da115790185 -->|calls| 1ba360b1_5d38_00fc_9f3e_fba558889335
  style 17c49915_ef95_09c8_8658_1da115790185 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/EscapeAwareWhiteSpaceArgumentDelimiter.java lines 58–68

	private int searchBackwards(CharSequence buffer, int pos, char... chars) {
		while (pos >= 0) {
			for (char c : chars) {
				if (buffer.charAt(pos) == c && !isEscaped(buffer, pos)) {
					return pos;
				}
			}
			pos--;
		}
		return -1;
	}

Domain

Subdomains

Calls

Called By

  • isQuoted()

Frequently Asked Questions

What does searchBackwards() do?
searchBackwards() is a function in the spring-boot codebase.
What does searchBackwards() call?
searchBackwards() calls 1 function(s): isEscaped.
What calls searchBackwards()?
searchBackwards() is called by 1 function(s): isQuoted.

Analyze Your Own Codebase

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

Try Supermodel Free