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

hasSetter() — spring-boot Function Reference

Architecture documentation for the hasSetter() function in LombokPropertyDescriptor.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  3b59ee09_2b95_5112_f0ab_0717589bdd74["hasSetter()"]
  3c94d78d_cc98_3710_5016_ed75d29e0667["isProperty()"]
  3c94d78d_cc98_3710_5016_ed75d29e0667 -->|calls| 3b59ee09_2b95_5112_f0ab_0717589bdd74
  df9e740c_8aad_ca7d_3726_527e853085c3["getField()"]
  3b59ee09_2b95_5112_f0ab_0717589bdd74 -->|calls| df9e740c_8aad_ca7d_3726_527e853085c3
  5368ebed_a9bf_3268_4582_b2e73b1e7cea["hasLombokPublicAccessor()"]
  3b59ee09_2b95_5112_f0ab_0717589bdd74 -->|calls| 5368ebed_a9bf_3268_4582_b2e73b1e7cea
  style 3b59ee09_2b95_5112_f0ab_0717589bdd74 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/LombokPropertyDescriptor.java lines 100–104

	private boolean hasSetter(MetadataGenerationEnvironment env) {
		boolean nonFinalPublicField = !getField().getModifiers().contains(Modifier.FINAL)
				&& hasLombokPublicAccessor(env, false);
		return this.setter != null || nonFinalPublicField;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does hasSetter() do?
hasSetter() is a function in the spring-boot codebase.
What does hasSetter() call?
hasSetter() calls 2 function(s): getField, hasLombokPublicAccessor.
What calls hasSetter()?
hasSetter() is called by 1 function(s): isProperty.

Analyze Your Own Codebase

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

Try Supermodel Free