@Override
    public <T extends Enum<T>> Path<T> createEnumPath(Class<T> type, PathMetadata metadata) {
        return Expressions.enumPath(type, metadata);
    }
{@code DefaultPathFactory} is the default implementation of the {@link PathFactory} interface

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/alias/DefaultPathFactory.java