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

hasLombokPublicAccessor() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  5368ebed_a9bf_3268_4582_b2e73b1e7cea["hasLombokPublicAccessor()"]
  3c94d78d_cc98_3710_5016_ed75d29e0667["isProperty()"]
  3c94d78d_cc98_3710_5016_ed75d29e0667 -->|calls| 5368ebed_a9bf_3268_4582_b2e73b1e7cea
  2aa2b43b_5eb5_e036_701a_081e1ada9e84["isNested()"]
  2aa2b43b_5eb5_e036_701a_081e1ada9e84 -->|calls| 5368ebed_a9bf_3268_4582_b2e73b1e7cea
  3b59ee09_2b95_5112_f0ab_0717589bdd74["hasSetter()"]
  3b59ee09_2b95_5112_f0ab_0717589bdd74 -->|calls| 5368ebed_a9bf_3268_4582_b2e73b1e7cea
  df9e740c_8aad_ca7d_3726_527e853085c3["getField()"]
  5368ebed_a9bf_3268_4582_b2e73b1e7cea -->|calls| df9e740c_8aad_ca7d_3726_527e853085c3
  01b7334f_5363_ab1f_f29e_35a30914f7cf["isAccessLevelPublic()"]
  5368ebed_a9bf_3268_4582_b2e73b1e7cea -->|calls| 01b7334f_5363_ab1f_f29e_35a30914f7cf
  style 5368ebed_a9bf_3268_4582_b2e73b1e7cea 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 114–126

	private boolean hasLombokPublicAccessor(MetadataGenerationEnvironment env, boolean getter) {
		String annotation = (getter ? LOMBOK_GETTER_ANNOTATION : LOMBOK_SETTER_ANNOTATION);
		AnnotationMirror lombokMethodAnnotationOnField = env.getAnnotation(getField(), annotation);
		if (lombokMethodAnnotationOnField != null) {
			return isAccessLevelPublic(env, lombokMethodAnnotationOnField);
		}
		AnnotationMirror lombokMethodAnnotationOnElement = env.getAnnotation(getDeclaringElement(), annotation);
		if (lombokMethodAnnotationOnElement != null) {
			return isAccessLevelPublic(env, lombokMethodAnnotationOnElement);
		}
		return (env.hasAnnotation(getDeclaringElement(), LOMBOK_DATA_ANNOTATION)
				|| env.hasAnnotation(getDeclaringElement(), LOMBOK_VALUE_ANNOTATION));
	}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free