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

hasNoOrOptionalParameters() — spring-boot Function Reference

Architecture documentation for the hasNoOrOptionalParameters() function in ConfigurationMetadataAnnotationProcessor.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  265b8d73_2591_fb05_0f37_bc2bb8c60fa1["hasNoOrOptionalParameters()"]
  5c6da233_fd70_e30f_5b84_b495a718dd83["hasMainReadOperation()"]
  5c6da233_fd70_e30f_5b84_b495a718dd83 -->|calls| 265b8d73_2591_fb05_0f37_bc2bb8c60fa1
  9b66ef98_dddd_d174_d9ce_993f3aef4c96["getParameters()"]
  265b8d73_2591_fb05_0f37_bc2bb8c60fa1 -->|calls| 9b66ef98_dddd_d174_d9ce_993f3aef4c96
  style 265b8d73_2591_fb05_0f37_bc2bb8c60fa1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessor.java lines 377–384

	private boolean hasNoOrOptionalParameters(ExecutableElement method) {
		for (VariableElement parameter : method.getParameters()) {
			if (!this.metadataEnv.hasNullableAnnotation(parameter)) {
				return false;
			}
		}
		return true;
	}

Domain

Subdomains

Calls

  • getParameters()

Frequently Asked Questions

What does hasNoOrOptionalParameters() do?
hasNoOrOptionalParameters() is a function in the spring-boot codebase.
What does hasNoOrOptionalParameters() call?
hasNoOrOptionalParameters() calls 1 function(s): getParameters.
What calls hasNoOrOptionalParameters()?
hasNoOrOptionalParameters() is called by 1 function(s): hasMainReadOperation.

Analyze Your Own Codebase

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

Try Supermodel Free