@Override
    public Annotation[] getDeclaredAnnotations() {
        return getAnnotations();
    }
Annotations is a merging adapter for the {@link AnnotatedElement} interface

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/util/Annotations.java