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

getAnnotations() — spring-boot Function Reference

Architecture documentation for the getAnnotations() function in ImportAutoConfigurationImportSelector.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  b44f24ed_bc81_0914_2d12_dd01d5e69c0e["getAnnotations()"]
  9b650894_dd3f_204d_12e2_d3b9e3ba9142["getCandidateConfigurations()"]
  9b650894_dd3f_204d_12e2_d3b9e3ba9142 -->|calls| b44f24ed_bc81_0914_2d12_dd01d5e69c0e
  dc96e92a_40a3_f23e_fde5_677bd814a192["getExclusions()"]
  dc96e92a_40a3_f23e_fde5_677bd814a192 -->|calls| b44f24ed_bc81_0914_2d12_dd01d5e69c0e
  8296a36c_bbb0_67fb_220a_ca7fbed08f9f["collectAnnotations()"]
  b44f24ed_bc81_0914_2d12_dd01d5e69c0e -->|calls| 8296a36c_bbb0_67fb_220a_ca7fbed08f9f
  style b44f24ed_bc81_0914_2d12_dd01d5e69c0e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/ImportAutoConfigurationImportSelector.java lines 147–152

	protected final Map<Class<?>, List<Annotation>> getAnnotations(AnnotationMetadata metadata) {
		MultiValueMap<Class<?>, Annotation> annotations = new LinkedMultiValueMap<>();
		Class<?> source = ClassUtils.resolveClassName(metadata.getClassName(), getBeanClassLoader());
		collectAnnotations(source, annotations, new HashSet<>());
		return Collections.unmodifiableMap(annotations);
	}

Domain

Subdomains

Calls

  • collectAnnotations()

Called By

Frequently Asked Questions

What does getAnnotations() do?
getAnnotations() is a function in the spring-boot codebase.
What does getAnnotations() call?
getAnnotations() calls 1 function(s): collectAnnotations.
What calls getAnnotations()?
getAnnotations() is called by 2 function(s): getCandidateConfigurations, getExclusions.

Analyze Your Own Codebase

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

Try Supermodel Free