public static <T extends Comparable<?>> ComparablePath<T> comparablePath(Class<? extends T> type,
            Path<?> parent, String property) {
        return new ComparablePath<T>(type, PathMetadataFactory.forProperty(parent, property));
    }
Create a new Path expression

@param type type of expression
@param parent parent path
@param property property path
@return path expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java