hibernate / hibernate-models

An abstraction over "reflection" and annotations
Apache License 2.0
2 stars 5 forks source link

Remove AnnotationUsage#getAnnotationTarget #63

Closed sebersole closed 2 months ago

sebersole commented 2 months ago

Remove AnnotationUsage#getAnnotationTarget - the consensus amongst the team was that this should be null in many cases (I personally don't agree, but :shrug: ).

This was only ever meant for informational purposes, and since we'd otherwise have to do null-handling whenever we would use it, we should just remove it.

ORM so far has exactly 1 use of that method (for logging).