private boolean hasRelevantAnnotation(Element element) {
        for (Class<? extends Annotation> relevantAnnotation : relevantAnnotations) {
            if (element.getAnnotation(relevantAnnotation) != null) {
                return true;
            }
        }
        return false;
    }
Configuration for {@link JDOAnnotationProcessor}

@author tiwe
@see JDOAnnotationProcessor
querydsl-apt/src/main/java/com/querydsl/apt/jdo/JDOConfiguration.java