Skip to content

take @Inherited into account when identifying annotations #1438

Open

Description

@martinlippert

Some annotations are annotated with @Inherited, which means that they "appear" on subtypes of the annotated type as well. This is, for example, the case for @Qualifier annotations. They can be set on superclasses, but subtypes are treated by Spring as if they would have the annotation as well.

This means, the indexing needs to be improved to not only take annotations on the type directly into account, but also look for inherited ones from supertypes, interfaces, and super interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: code completiontheme: spring index & symbolstheme: validationtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions