AnnotatedTypeMetadata
- AnnotatedTypeMetadata is an Interface.
- It is used to have annotation based checks.
- Using AnnotatedTypeMetadata check, verify that @Bean annotated method is annotated with any other annotation.
- You can also check the attributes applied to the annotation, which is applied to the @Bean method.