private Type getPropertyType(Attribute<?, ?> p, Type propertyType) {
        Temporal temporal = ((AnnotatedElement) p.getJavaMember()).getAnnotation(Temporal.class);
        if (temporal != null) {
            switch (temporal.value()) {
            case DATE: propertyType = propertyType.as(TypeCategory.DATE); break;
            case TIME: propertyType = propertyType.as(TypeCategory.TIME); break;
            case TIMESTAMP: propertyType = propertyType.as(TypeCategory.DATETIME); break;
            }
        }
        return propertyType;
    }
Create a new JPADomainExporter instance

@param namePrefix name prefix (default: Q)
@param nameSuffix name suffix (default: empty)
@param targetFolder target folder
@param serializerConfig serializer config
@param metamodel metamodel
@param charset charset (default: system charset)
querydsl-jpa-codegen/src/main/java/com/querydsl/jpa/codegen/JPADomainExporter.java