@Override
        public TypeCategory getTypeByAnnotation(Class<?> cl, Annotation annotation) {
            switch (((Temporal) annotation).value()) {
                case DATE:
                    return TypeCategory.DATE;
                case TIME:
                    return TypeCategory.TIME;
                case TIMESTAMP:
                    return TypeCategory.DATETIME;
            }
            return null;
        }
An {@link AnnotationHelper} that handles JPA {@link Temporal} annotation.

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