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

getAnnotationValue() — spring-boot Function Reference

Architecture documentation for the getAnnotationValue() function in MetadataGenerationEnvironment.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  46888de3_e4cd_49f3_c5e9_23302dde6199["getAnnotationValue()"]
  c1296662_b920_0869_16ea_85334d275c59["getAnnotationElementValues()"]
  c1296662_b920_0869_16ea_85334d275c59 -->|calls| 46888de3_e4cd_49f3_c5e9_23302dde6199
  047903fc_500a_0180_13c5_6d98f3df6387["getAnnotationElementStringValue()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| 46888de3_e4cd_49f3_c5e9_23302dde6199
  b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f["getValue()"]
  46888de3_e4cd_49f3_c5e9_23302dde6199 -->|calls| b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f
  style 46888de3_e4cd_49f3_c5e9_23302dde6199 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java lines 329–337

	private Object getAnnotationValue(AnnotationValue annotationValue) {
		Object value = annotationValue.getValue();
		if (value instanceof List) {
			List<Object> values = new ArrayList<>();
			((List<?>) value).forEach((v) -> values.add(((AnnotationValue) v).getValue()));
			return values;
		}
		return value;
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getAnnotationValue() do?
getAnnotationValue() is a function in the spring-boot codebase.
What does getAnnotationValue() call?
getAnnotationValue() calls 1 function(s): getValue.
What calls getAnnotationValue()?
getAnnotationValue() is called by 2 function(s): getAnnotationElementStringValue, getAnnotationElementValues.

Analyze Your Own Codebase

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

Try Supermodel Free