spring-framework / org.springframework.beans.factory.annotation / AnnotatedBeanDefinition / getMetadata

getMetadata

abstract fun getMetadata(): AnnotationMetadata

Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.

Return
the annotation metadata object (never null)