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

getAnnotationElementStringValue() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  047903fc_500a_0180_13c5_6d98f3df6387["getAnnotationElementStringValue()"]
  dd714f32_5fca_69ba_2f4a_9d4bc000df4e["resolveItemDeprecation()"]
  dd714f32_5fca_69ba_2f4a_9d4bc000df4e -->|calls| 047903fc_500a_0180_13c5_6d98f3df6387
  1baabe57_48a3_d81d_65fc_4f3335b91796["toString()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| 1baabe57_48a3_d81d_65fc_4f3335b91796
  6ba62623_7f72_4fbe_a844_3fc78ffb241c["equals()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| 6ba62623_7f72_4fbe_a844_3fc78ffb241c
  971c18d4_6798_0c68_79ab_be55717771ed["asString()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| 971c18d4_6798_0c68_79ab_be55717771ed
  46888de3_e4cd_49f3_c5e9_23302dde6199["getAnnotationValue()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| 46888de3_e4cd_49f3_c5e9_23302dde6199
  b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f["getValue()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f
  style 047903fc_500a_0180_13c5_6d98f3df6387 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 319–327

	String getAnnotationElementStringValue(AnnotationMirror annotation, String name) {
		return annotation.getElementValues()
			.entrySet()
			.stream()
			.filter((element) -> element.getKey().getSimpleName().toString().equals(name))
			.map((element) -> asString(getAnnotationValue(element.getValue())))
			.findFirst()
			.orElse(null);
	}

Domain

Subdomains

Frequently Asked Questions

What does getAnnotationElementStringValue() do?
getAnnotationElementStringValue() is a function in the spring-boot codebase.
What does getAnnotationElementStringValue() call?
getAnnotationElementStringValue() calls 5 function(s): asString, equals, getAnnotationValue, getValue, toString.
What calls getAnnotationElementStringValue()?
getAnnotationElementStringValue() is called by 1 function(s): resolveItemDeprecation.

Analyze Your Own Codebase

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

Try Supermodel Free