@Override
        public Object getCustomKey(Annotation annotation) {
            return ((Temporal) annotation).value();
        }
An {@link AnnotationHelper} that handles JPA {@link Temporal} annotation.

@author dyorgio
querydsl-maven-plugin/src/main/java/com/querydsl/maven/JPATemporalAnnotationHelper.java