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

isHintMatch() — spring-boot Function Reference

Architecture documentation for the isHintMatch() function in HintCommand.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  b9fc624c_cb28_c642_21cc_088f942b2d1f["isHintMatch()"]
  f9215950_d964_cd3e_c9a7_2b942425eb41["showCommandHints()"]
  f9215950_d964_cd3e_c9a7_2b942425eb41 -->|calls| b9fc624c_cb28_c642_21cc_088f942b2d1f
  41e94940_1938_2d2c_de13_1a3a9788c802["isOptionCommand()"]
  b9fc624c_cb28_c642_21cc_088f942b2d1f -->|calls| 41e94940_1938_2d2c_de13_1a3a9788c802
  23e5bd74_cde2_fbc9_dfb8_daaa3e4110bd["getName()"]
  b9fc624c_cb28_c642_21cc_088f942b2d1f -->|calls| 23e5bd74_cde2_fbc9_dfb8_daaa3e4110bd
  style b9fc624c_cb28_c642_21cc_088f942b2d1f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HintCommand.java lines 81–87

	private boolean isHintMatch(Command command, String starting) {
		if (command instanceof HintCommand) {
			return false;
		}
		return command.getName().startsWith(starting)
				|| (this.commandRunner.isOptionCommand(command) && ("--" + command.getName()).startsWith(starting));
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does isHintMatch() do?
isHintMatch() is a function in the spring-boot codebase.
What does isHintMatch() call?
isHintMatch() calls 2 function(s): getName, isOptionCommand.
What calls isHintMatch()?
isHintMatch() is called by 1 function(s): showCommandHints.

Analyze Your Own Codebase

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

Try Supermodel Free