public static <T extends Comparable<?>> ComparablePath<T> comparablePath(Class<? extends T> type,
                                                                             PathMetadata metadata) {
        return new ComparablePath<T>(type, metadata);
    }
Create a new Path expression

@param type type of expression
@param metadata path metadata
@param <T> type of expression
@return path expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java