hibernate / hibernate-models

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

Fix bug in AnnotationTargetSupport#locateAnnotationUsage #36

Closed sebersole closed 4 months ago

sebersole commented 4 months ago

This is clearly wrong :P

        // first, see if we can find it directly...
        final AnnotationUsage<A> localUsage = getAnnotationUsage( annotationType );
        if ( localUsage != null ) {
            return null;
        }