@Override
    public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) {
        return annotations.containsKey(annotationClass);
    }
Annotations is a merging adapter for the {@link AnnotatedElement} interface

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