public <A extends Enum<A>> EnumPath<A> getEnum(String property, Class<A> type) {
        validate(property, type);
        return super.createEnum(property, type);
    }
Create a new Enum path

@param <A>
@param property property name
@param type property type
@return property path
querydsl-core/src/main/java/com/querydsl/core/types/dsl/PathBuilder.java