Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Skip processing of Java annotations inQualifierAnnotationAutowireCandidateResolver #33580

Closed
Assignees
jhoeller
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement
Milestone
@sbrannen

Description

@sbrannen

QualifierAnnotationAutowireCandidateResolver.checkQualifiers() currently checks if Java annotations are qualifier annotations, and it also checks if Java meta-annotations (for example, annotations in thejava.lang.annotation package such as@Retention) are qualifier annotations.

Since such annotations can never be candidates for qualifier annotations, we should preemptively skip processing of Java annotations inQualifierAnnotationAutowireCandidateResolver.

For example, we could make use of something similar toAnnotationsScanner.hasPlainJavaAnnotationsOnly(...) to determine if processing is necessary, or we could just exclude any annotation whose package name starts withjava. orjavax..

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


    [8]ページ先頭

    ©2009-2025 Movatter.jp