Skip to content

Detection of “unused” annotations #140

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 :) )

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting contributionThe issue is waiting on a contribution, as the core team does not plan on implementing

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions