Skip to content

Introduce isAnnotation() in ClassMetadata API [SPR-11711] #16333

@spring-projects-issues

Description

@spring-projects-issues

Artem Bilan opened SPR-11711 and commented

Currently there is no simple way to check if a scanned class is an Annotation: ClassMetadata doesn't provide the option to check it.
However StandardClassMetadata can simply provide it via Class.isAnnotation(), and ClassMetadataReadingVisitor can populate the value using Opcodes.ACC_ANNOTATION.


Issue Links:

  • INT-3929 Change IntegrationComponentScanRegistrar to use ClassMetadata.isAnnotation() ("is depended on by")
  • INT-3376 Merge Messaging Meta-Annotation Attributes

Referenced from: commits b495478

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions