Skip to content

Detection of “unused” annotations #140

@yrodiere

Description

@yrodiere

E.g. if a JPA/Hibernate annotation is in ClassDetails, but its descriptor has never been accessed, then there is probably a problem. We could report it as an error or warning?

We have a similar feature for unused/misspelled configuration properties in Hibernate Search: https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#configuration-property-tracking

(Creating this issue to track an idea we had during earlier discussions -- I'm certainly not saying it's the top priority :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions